[Webkit-unassigned] [Bug 164868] CryptoKeyPair objects are not structured cloneable, therefore they cannot be put in IndexedDB

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 17 11:47:06 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=164868

--- Comment #9 from Brady Eidson <beidson at apple.com> ---
(In reply to comment #8)
> (In reply to comment #7)
> > I believe the reason Chrome and Firefox allow the put is that they do not
> > recognize the CryptoKeyPair as a "CryptoKeyPair" - They think it's an
> > "Object"
> > 
> > And "Objects" are structured cloneable as long as each of their properties
> > are.
> 
> Got it.
> 
> At one point in the history of the spec, CryptoKeyPair objects were their
> own interface, therefore their own explicit object type.
> 
> Now they're just an object dictionary
> (https://w3c.github.io/webcrypto/Overview.html#keypair), which means they
> are an "Object", which means they are structured cloneable

Fixing this is just a matter of fixing our IDL situation for CryptoKeyPair.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161117/2f07ff62/attachment.html>


More information about the webkit-unassigned mailing list