RESOLVED FIXED 173128
[WebCrypto] Remove unsupported CryptoAlgorithmIdentifier
https://bugs.webkit.org/show_bug.cgi?id=173128
Summary [WebCrypto] Remove unsupported CryptoAlgorithmIdentifier
Jiewen Tan
Reported 2017-06-08 21:58:41 PDT
Remove unsupported CryptoAlgorithmIdentifier.
Attachments
Patch (19.31 KB, patch)
2017-06-08 22:03 PDT, Jiewen Tan
no flags
Radar WebKit Bug Importer
Comment 1 2017-06-08 21:59:14 PDT
Jiewen Tan
Comment 2 2017-06-08 22:03:48 PDT
Build Bot
Comment 3 2017-06-08 22:06:47 PDT
Attachment 312379 [details] did not pass style-queue: ERROR: Source/WebCore/bindings/js/SerializedScriptValue.cpp:233: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] ERROR: Source/WebCore/bindings/js/SerializedScriptValue.cpp:234: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] ERROR: Source/WebCore/bindings/js/SerializedScriptValue.cpp:235: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] ERROR: Source/WebCore/bindings/js/SerializedScriptValue.cpp:236: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] ERROR: Source/WebCore/bindings/js/SerializedScriptValue.cpp:237: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] ERROR: Source/WebCore/bindings/js/SerializedScriptValue.cpp:238: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] ERROR: Source/WebCore/bindings/js/SerializedScriptValue.cpp:239: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] ERROR: Source/WebCore/bindings/js/SerializedScriptValue.cpp:240: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] ERROR: Source/WebCore/bindings/js/SerializedScriptValue.cpp:241: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] ERROR: Source/WebCore/bindings/js/SerializedScriptValue.cpp:242: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] ERROR: Source/WebCore/bindings/js/SerializedScriptValue.cpp:243: enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums. [readability/enum_casing] [4] Total errors found: 11 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Brent Fulgham
Comment 4 2017-06-09 08:50:55 PDT
Comment on attachment 312379 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=312379&action=review > Source/WebCore/bindings/js/JSCryptoAlgorithmDictionary.cpp:-319 > - case CryptoAlgorithmIdentifier::AES_CMAC: When we remove these cases, do we have a general error handler that reports to the user that it is an unsupported algorithm? If so, r=me.
Jiewen Tan
Comment 5 2017-06-09 16:41:13 PDT
Comment on attachment 312379 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=312379&action=review Thanks Brent for r+ my patch. >> Source/WebCore/bindings/js/JSCryptoAlgorithmDictionary.cpp:-319 >> - case CryptoAlgorithmIdentifier::AES_CMAC: > > When we remove these cases, do we have a general error handler that reports to the user that it is an unsupported algorithm? > > If so, r=me. Yes, we do.
WebKit Commit Bot
Comment 6 2017-06-09 17:08:32 PDT
Comment on attachment 312379 [details] Patch Clearing flags on attachment: 312379 Committed r218030: <http://trac.webkit.org/changeset/218030>
WebKit Commit Bot
Comment 7 2017-06-09 17:08:34 PDT
All reviewed patches have been landed. Closing bug.
Jon Lee
Comment 8 2017-06-14 23:53:00 PDT
this breaks Netflix.
Note You need to log in before you can comment on or make changes to this bug.