Bug 126023
| Summary: | WebCrypto APIs should never throw | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, jiewen_tan, rob, sam, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 160883 | ||
Alexey Proskuryakov
This is not quite finalized, but it appears that all errors will be reported as promise rejections of type DOMException (this includes WebIDL exceptions that will be converted into rejections).
See <https://www.w3.org/Bugs/Public/show_bug.cgi?id=21740>.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jiewen Tan
It looks like that in the importKey method, there is an exception:
https://www.w3.org/TR/WebCryptoAPI/#dfn-SubtleCrypto-method-importKey
Will send an email to the working group to confirm the difference.
Radar WebKit Bug Importer
<rdar://problem/27858554>
youenn fablet
bug 162010 is probably a duplicate of this one, or at least partially.
Jiewen Tan
This bug should be resolved by the following revisions:
<http://trac.webkit.org/changeset/207809>,
<http://trac.webkit.org/changeset/208548>,
<http://trac.webkit.org/changeset/208737>,
<http://trac.webkit.org/changeset/208891>,
<http://trac.webkit.org/changeset/208918>,
<http://trac.webkit.org/changeset/209092>,
<http://trac.webkit.org/changeset/209150>,
<http://trac.webkit.org/changeset/209164>,
<http://trac.webkit.org/changeset/209166>,
<http://trac.webkit.org/changeset/209191>,
<http://trac.webkit.org/changeset/209155>,
<http://trac.webkit.org/changeset/209200>.