Bug 126023 - WebCrypto APIs should never throw
Summary: WebCrypto APIs should never throw
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Blocks: 160883
  Show dependency treegraph
Reported: 2013-12-19 15:45 PST by Alexey Proskuryakov
Modified: 2016-12-01 14:01 PST (History)
6 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 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>.
Comment 1 Jiewen Tan 2016-08-15 18:34:50 PDT
It looks like that in the importKey method, there is an exception:

Will send an email to the working group to confirm the difference.
Comment 2 Radar WebKit Bug Importer 2016-08-15 18:35:27 PDT
Comment 3 youenn fablet 2016-09-15 12:15:09 PDT
bug 162010 is probably a duplicate of this one, or at least partially.