WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
126023
WebCrypto APIs should never throw
https://bugs.webkit.org/show_bug.cgi?id=126023
Summary
WebCrypto APIs should never throw
Alexey Proskuryakov
Reported
2013-12-19 15:45:47 PST
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
Comment 1
2016-08-15 18:34:50 PDT
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
Comment 2
2016-08-15 18:35:27 PDT
<
rdar://problem/27858554
>
youenn fablet
Comment 3
2016-09-15 12:15:09 PDT
bug 162010
is probably a duplicate of this one, or at least partially.
Jiewen Tan
Comment 4
2016-12-01 14:01:08 PST
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
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug