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

Issue 21561004: WebCrypto: Add crypto.subtle.verify() to the platform interfaces. (Closed)

Created:
7 years, 4 months ago by eroman
Modified:
7 years, 4 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, jamesr, eae+blinkwatch, tommyw+watchlist_chromium.org, abarth-chromium, dglazkov+blink, jeez, jochen+watch_chromium.org
Visibility:
Public.

Description

WebCrypto: Add crypto.subtle.verify() to the platform interfaces. BUG=245025 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155395

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Add ScriptObject::createBoolean() #

Patch Set 3 : rename verify() --> verifySignature(), because of MacOS macro #

Patch Set 4 : Add missing file common.js #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -71 lines) Patch
M LayoutTests/crypto/digest.html View 2 chunks +1 line, -17 lines 0 comments Download
M LayoutTests/crypto/importKey.html View 2 chunks +1 line, -8 lines 0 comments Download
M LayoutTests/crypto/normalize-algorithm.html View 2 chunks +1 line, -11 lines 0 comments Download
A LayoutTests/crypto/resources/common.js View 1 2 3 1 chunk +36 lines, -0 lines 0 comments Download
A LayoutTests/crypto/sign-verify.html View 1 chunk +49 lines, -0 lines 0 comments Download
A LayoutTests/crypto/sign-verify-expected.txt View 1 chunk +15 lines, -0 lines 0 comments Download
M Source/bindings/v8/ScriptValue.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/platform/chromium/support/WebCrypto.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/modules/crypto/CryptoOperation.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/crypto/CryptoOperation.cpp View 1 1 chunk +9 lines, -0 lines 0 comments Download
M Source/modules/crypto/SubtleCrypto.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/crypto/SubtleCrypto.cpp View 1 2 4 chunks +16 lines, -8 lines 0 comments Download
M Source/modules/crypto/SubtleCrypto.idl View 1 chunk +1 line, -1 line 0 comments Download
M Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.cpp View 1 2 3 chunks +53 lines, -25 lines 0 comments Download
M public/platform/WebCrypto.h View 1 2 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
eroman
https://codereview.chromium.org/21561004/diff/9001/Source/modules/crypto/CryptoOperation.cpp File Source/modules/crypto/CryptoOperation.cpp (right): https://codereview.chromium.org/21561004/diff/9001/Source/modules/crypto/CryptoOperation.cpp#newcode129 Source/modules/crypto/CryptoOperation.cpp:129: promiseResolver()->fulfill(ScriptValue(b ? v8::True() : v8::False())); Do you want me ...
7 years, 4 months ago (2013-08-01 19:59:16 UTC) #1
abarth-chromium
lgtm https://codereview.chromium.org/21561004/diff/9001/Source/modules/crypto/CryptoOperation.cpp File Source/modules/crypto/CryptoOperation.cpp (right): https://codereview.chromium.org/21561004/diff/9001/Source/modules/crypto/CryptoOperation.cpp#newcode129 Source/modules/crypto/CryptoOperation.cpp:129: promiseResolver()->fulfill(ScriptValue(b ? v8::True() : v8::False())); On 2013/08/01 19:59:16, ...
7 years, 4 months ago (2013-08-01 21:02:12 UTC) #2
abarth-chromium
Or maybe ScriptValue::createBoolean(bool) ?
7 years, 4 months ago (2013-08-01 21:03:18 UTC) #3
eroman
Done. I went with ScriptValue::createBoolean()
7 years, 4 months ago (2013-08-01 21:27:36 UTC) #4
eroman
I made one small change since you reviewed: renamed verify() --> verifySignature(), because "verify" conflicts ...
7 years, 4 months ago (2013-08-01 21:39:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/21561004/21001
7 years, 4 months ago (2013-08-02 00:31:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/21561004/34001
7 years, 4 months ago (2013-08-02 01:14:17 UTC) #7
commit-bot: I haz the power
7 years, 4 months ago (2013-08-02 05:07:10 UTC) #8
Message was sent while issue was closed.
Change committed as 155395

Powered by Google App Engine
This is Rietveld 408576698