Bug 136202 - ASSERT(extractable()) when storing a non-extractable key in IndexedDB
Summary: ASSERT(extractable()) when storing a non-extractable key in IndexedDB
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:
Reported: 2014-08-24 15:40 PDT by Alexey Proskuryakov
Modified: 2018-02-21 07:30 PST (History)
1 user (show)

See Also:

proposed fix (8.65 KB, patch)
2014-08-24 16:50 PDT, Alexey Proskuryakov
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2014-08-24 15:40:08 PDT
There are assertions in a few WebCrypto exportData() function to verify that non-extractable keys are not exported. But the same function is used for structured clone serialization, which is allowed.

Comment 1 Alexey Proskuryakov 2014-08-24 16:50:41 PDT
Created attachment 237050 [details]
proposed fix
Comment 2 WebKit Commit Bot 2014-08-24 19:33:19 PDT
Comment on attachment 237050 [details]
proposed fix

Clearing flags on attachment: 237050

Committed r172898: <http://trac.webkit.org/changeset/172898>
Comment 3 WebKit Commit Bot 2014-08-24 19:33:21 PDT
All reviewed patches have been landed.  Closing bug.