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
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
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
youenn fablet
Comment 3 2016-09-15 12:15:09 PDT
bug 162010 is probably a duplicate of this one, or at least partially.
Note You need to log in before you can comment on or make changes to this bug.