Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Issue 2159313002: Miscelaneous updates to WebCrypto to match latest spec. (Closed)

Created:
4 years, 5 months ago by eroman
Modified:
4 years, 5 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, blink-reviews, tfarina, haraken
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Miscelaneous updates to WebCrypto to match latest spec. * Matches version 2ac0c945d78d8b66246ce47c5a366a1fd6464aa5 of https://github.com/w3c/webcrypto * Adds comments referencing the spec procedure text * Renames "algorithm" --> "normalizedAlgorithm" to match spec text * Re-orders an algorithm normalization step * Changes DataError --> TypeError for an importKey() case BUG=628413 Committed: https://crrev.com/c28c47588a5093e8383b497c6bc8732f088762b3 Cr-Commit-Position: refs/heads/master@{#406467}

Patch Set 1 #

Total comments: 17

Patch Set 2 : double check spec text -- corrected one numbering, added 3 more notes, and moved up one parsing #

Patch Set 3 : spelling fix cal --> call #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -79 lines) Patch
M third_party/WebKit/LayoutTests/crypto/subtle/hkdf/importKey-failures-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/crypto/subtle/importKey-badParameters-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp View 1 2 13 chunks +210 lines, -76 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
eroman
https://codereview.chromium.org/2159313002/diff/1/third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp File third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp (right): https://codereview.chromium.org/2159313002/diff/1/third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp#newcode152 third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp:152: WebCryptoAlgorithm normalizedAlgorithm; renames algorithm --> normalizedAlgorithm; no other changes ...
4 years, 5 months ago (2016-07-19 18:22:50 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/2159313002/diff/1/third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp File third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp (right): https://codereview.chromium.org/2159313002/diff/1/third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp#newcode437 third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp:437: // then throw an InvalidAccessError. Typo: You copied 14.3.11.9 ...
4 years, 5 months ago (2016-07-19 18:27:53 UTC) #5
Ryan Sleevi
Oh, and LGTM % nit
4 years, 5 months ago (2016-07-19 18:28:32 UTC) #6
eroman
https://codereview.chromium.org/2159313002/diff/1/third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp File third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp (right): https://codereview.chromium.org/2159313002/diff/1/third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp#newcode437 third_party/WebKit/Source/modules/crypto/SubtleCrypto.cpp:437: // then throw an InvalidAccessError. On 2016/07/19 18:27:52, Ryan ...
4 years, 5 months ago (2016-07-19 19:17:13 UTC) #7
Ryan Sleevi
On 2016/07/19 19:17:13, eroman wrote: > I will cross check all of these and make ...
4 years, 5 months ago (2016-07-19 19:23:34 UTC) #9
eroman
I did another pass and corrected one numbering, the rest looked good.
4 years, 5 months ago (2016-07-19 19:44:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2159313002/40001
4 years, 5 months ago (2016-07-19 22:57:08 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-20 02:27:36 UTC) #20
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-20 02:27:52 UTC) #21
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 02:29:50 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c28c47588a5093e8383b497c6bc8732f088762b3
Cr-Commit-Position: refs/heads/master@{#406467}

Powered by Google App Engine
This is Rietveld 408576698