Bug 138823 - crypto: Use sequence<> instead of KeyUsage[] in IDL
Summary: crypto: Use sequence<> instead of KeyUsage[] in IDL
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-17 22:36 PST by Shivakumar J M
Modified: 2014-11-18 10:14 PST (History)
6 users (show)

See Also:


Attachments
Patch (2.65 KB, patch)
2014-11-17 22:54 PST, Shivakumar J M
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shivakumar J M 2014-11-17 22:36:21 PST
Use sequence<> instead of KeyUsage[] in crypto IDL as per spec: https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#SubtleCrypto-method-generateKey
Comment 1 Shivakumar J M 2014-11-17 22:54:45 PST
Created attachment 241766 [details]
Patch

Use sequence<KeyUsage> instead of KeyUsage[] in crypto IDL as per spec: https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#SubtleCrypto-method-generateKey
Comment 2 WebKit Commit Bot 2014-11-18 09:44:58 PST
Comment on attachment 241766 [details]
Patch

Clearing flags on attachment: 241766

Committed r176261: <http://trac.webkit.org/changeset/176261>
Comment 3 WebKit Commit Bot 2014-11-18 09:45:02 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Alexey Proskuryakov 2014-11-18 10:14:31 PST
Is KeyUsage[] exactly the same thing as sequence<KeyUsage>? Otherwise, the change may be wrong, as it only changes description in IDL, but does not change what WebKit actually does.