This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26380 - importKey doesn't define handling of keyData in some cases
Summary: importKey doesn't define handling of keyData in some cases
Status: RESOLVED FIXED
Alias: None
Product: Web Cryptography
Classification: Unclassified
Component: Web Cryptography API Document (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Mark Watson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-17 23:52 UTC by Ryan Sleevi
Modified: 2014-09-26 00:47 UTC (History)
3 users (show)

See Also:


Attachments

Description Ryan Sleevi 2014-07-17 23:52:39 UTC
From Boris, on http://lists.w3.org/Archives/Public/public-webcrypto/2014Jul/0075.html

Issues:
1) The IDL should be updated to be a union type, rather than object
2) For the !JWK case, the spec should be clear to reject with a type error if given a JsonWebKey dictionary
3) For the JWK case, the spec should be clear to reject with a type error if given a CryptoOperationData