WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
127685
WebCrypto keyUsage is no longer an optional argument
https://bugs.webkit.org/show_bug.cgi?id=127685
Summary
WebCrypto keyUsage is no longer an optional argument
Alexey Proskuryakov
Reported
2014-01-27 09:21:51 PST
See <
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19416
>, it doesn't make sense for keyUsage to have the default empty value.
Attachments
Patch
(2.49 KB, patch)
2014-11-03 06:55 PST
,
Éva Balázsfalvi
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2014-02-20 17:52:46 PST
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19705
is the correct bug.
Éva Balázsfalvi
Comment 2
2014-11-03 06:55:09 PST
Created
attachment 240848
[details]
Patch
Alexey Proskuryakov
Comment 3
2014-11-03 09:22:34 PST
Comment on
attachment 240848
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=240848&action=review
This patch does not change behavior - everything besides the function name is essentially a comment for [Custom] properties. The actual implementation that makes these optional is in JSSubtleCryptoCustom.cpp. It is probably OK to make this particular change. But I think that the better approach would be to freeze the existing implementation under crypto.webkitSubtle, and start one that matches the new spec and is exposed as crypto.subtle. There were incompatible changes that we shouldn't be making for webkitSubtle. And generally, the spec changed so much that a clean reimplementation is probably easier than massaging the existing one.
> Source/WebCore/ChangeLog:8 > + No new tests, no behavior change.
There is indeed no behavior change (see above), however making arguments non-optional is definitely a behavior change that needs to be tested.
Radar WebKit Bug Importer
Comment 4
2016-08-15 18:09:42 PDT
<
rdar://problem/27858197
>
Jiewen Tan
Comment 5
2016-12-01 14:02:50 PST
This bug should be resolved by the following revisions: <
http://trac.webkit.org/changeset/207809
>, <
http://trac.webkit.org/changeset/208548
>, <
http://trac.webkit.org/changeset/208737
>, <
http://trac.webkit.org/changeset/208891
>, <
http://trac.webkit.org/changeset/208918
>, <
http://trac.webkit.org/changeset/209092
>, <
http://trac.webkit.org/changeset/209150
>, <
http://trac.webkit.org/changeset/209164
>, <
http://trac.webkit.org/changeset/209166
>, <
http://trac.webkit.org/changeset/209191
>, <
http://trac.webkit.org/changeset/209155
>, <
http://trac.webkit.org/changeset/209200
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug