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

Issue 298023002: [webcrypto] Import WebKit's webcrypto tests. (Closed)

Created:
6 years, 7 months ago by eroman
Modified:
6 years, 6 months ago
Reviewers:
jww
CC:
blink-reviews
Visibility:
Public.

Description

[webcrypto] Import WebKit's webcrypto LayoutTests. Some modifications necessary to account for differences in version of the spec and implementation. BUG=377941, 245025 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175833

Patch Set 1 : Import tests from WebKit (no modifications yet) #

Patch Set 2 : Modify the tests to work in blink #

Total comments: 2

Patch Set 3 : remove FIXME for unrecognized jwk usages (supported now) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2218 lines, -2 lines) Patch
A LayoutTests/crypto/aes-cbc-generate-key.html View 1 1 chunk +43 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-cbc-generate-key-expected.txt View 1 1 chunk +18 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-cbc-import-jwk.html View 1 1 chunk +52 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-cbc-import-jwk-expected.txt View 1 chunk +19 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-cbc-invalid-length.html View 1 1 chunk +30 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-cbc-invalid-length-expected.txt View 1 1 chunk +11 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-cbc-unwrap-failure.html View 1 1 chunk +38 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-cbc-unwrap-failure-expected.txt View 1 1 chunk +13 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-cbc-unwrap-rsa.html View 1 1 chunk +54 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-cbc-unwrap-rsa-expected.txt View 1 1 chunk +20 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-cbc-wrap-rsa.html View 1 1 chunk +51 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-cbc-wrap-rsa-expected.txt View 1 chunk +14 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-cbc-wrap-rsa-non-extractable.html View 1 1 chunk +52 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-cbc-wrap-rsa-non-extractable-expected.txt View 1 1 chunk +15 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-cbc-wrong-key-class.html View 1 1 chunk +32 lines, -0 lines 0 comments Download
A + LayoutTests/crypto/aes-cbc-wrong-key-class-expected.txt View 1 1 chunk +3 lines, -2 lines 0 comments Download
A LayoutTests/crypto/aes-export-key.html View 1 1 chunk +109 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-export-key-expected.txt View 1 1 chunk +40 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-kw-key-manipulation.html View 1 1 chunk +52 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-kw-key-manipulation-expected.txt View 1 1 chunk +25 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-kw-wrap-unwrap-aes.html View 1 1 chunk +57 lines, -0 lines 0 comments Download
A LayoutTests/crypto/aes-kw-wrap-unwrap-aes-expected.txt View 1 1 chunk +22 lines, -0 lines 0 comments Download
A LayoutTests/crypto/array-buffer-view-offset.html View 1 1 chunk +29 lines, -0 lines 0 comments Download
A LayoutTests/crypto/array-buffer-view-offset-expected.txt View 1 chunk +10 lines, -0 lines 0 comments Download
A LayoutTests/crypto/hmac-export-key.html View 1 1 chunk +91 lines, -0 lines 0 comments Download
A LayoutTests/crypto/hmac-export-key-expected.txt View 1 1 chunk +33 lines, -0 lines 0 comments Download
A LayoutTests/crypto/hmac-generate-key.html View 1 1 chunk +58 lines, -0 lines 0 comments Download
A LayoutTests/crypto/hmac-generate-key-expected.txt View 1 1 chunk +27 lines, -0 lines 0 comments Download
A LayoutTests/crypto/hmac-import-jwk.html View 1 1 chunk +54 lines, -0 lines 0 comments Download
A LayoutTests/crypto/hmac-import-jwk-expected.txt View 1 1 chunk +22 lines, -0 lines 0 comments Download
A LayoutTests/crypto/import-jwk.html View 1 1 chunk +91 lines, -0 lines 0 comments Download
A LayoutTests/crypto/import-jwk-expected.txt View 1 1 chunk +27 lines, -0 lines 0 comments Download
A LayoutTests/crypto/jwk-export-use-values.html View 1 1 chunk +63 lines, -0 lines 0 comments Download
A LayoutTests/crypto/jwk-export-use-values-expected.txt View 1 chunk +53 lines, -0 lines 0 comments Download
A LayoutTests/crypto/jwk-import-use-values.html View 1 2 1 chunk +123 lines, -0 lines 0 comments Download
A LayoutTests/crypto/jwk-import-use-values-expected.txt View 1 2 1 chunk +85 lines, -0 lines 0 comments Download
M LayoutTests/crypto/resources/common.js View 1 2 chunks +16 lines, -0 lines 0 comments Download
A LayoutTests/crypto/rsa-export-key.html View 1 1 chunk +64 lines, -0 lines 0 comments Download
A LayoutTests/crypto/rsa-export-key-expected.txt View 1 1 chunk +25 lines, -0 lines 0 comments Download
A LayoutTests/crypto/rsa-export-private-key.html View 1 1 chunk +63 lines, -0 lines 0 comments Download
A LayoutTests/crypto/rsa-export-private-key-expected.txt View 1 1 chunk +27 lines, -0 lines 0 comments Download
A LayoutTests/crypto/rsa-indexeddb.html View 1 1 chunk +80 lines, -0 lines 0 comments Download
A LayoutTests/crypto/rsa-indexeddb-expected.txt View 1 1 chunk +16 lines, -0 lines 0 comments Download
A LayoutTests/crypto/rsassa-pkcs1-v1_5-generate-key.html View 1 1 chunk +57 lines, -0 lines 0 comments Download
A LayoutTests/crypto/rsassa-pkcs1-v1_5-generate-key-expected.txt View 1 1 chunk +26 lines, -0 lines 0 comments Download
A LayoutTests/crypto/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent.html View 1 1 chunk +44 lines, -0 lines 0 comments Download
A LayoutTests/crypto/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent-expected.txt View 1 1 chunk +21 lines, -0 lines 0 comments Download
A LayoutTests/crypto/rsassa-pkcs1-v1_5-import-jwk.html View 1 1 chunk +63 lines, -0 lines 0 comments Download
A LayoutTests/crypto/rsassa-pkcs1-v1_5-import-jwk-expected.txt View 1 1 chunk +26 lines, -0 lines 0 comments Download
A LayoutTests/crypto/rsassa-pkcs1-v1_5-import-jwk-small-key.html View 1 1 chunk +55 lines, -0 lines 0 comments Download
A LayoutTests/crypto/rsassa-pkcs1-v1_5-import-jwk-small-key-expected.txt View 1 1 chunk +11 lines, -0 lines 0 comments Download
A LayoutTests/crypto/rsassa-pkcs1-v1_5-sign-verify.html View 1 1 chunk +67 lines, -0 lines 0 comments Download
A LayoutTests/crypto/rsassa-pkcs1-v1_5-sign-verify-expected.txt View 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
eroman
The modifications I made can be seen in difference between patchset 1 and 2.
6 years, 6 months ago (2014-05-30 20:17:23 UTC) #1
jww
lgtm, modulo my one question. Man, I'm thrilled you did this, but I'm glad I ...
6 years, 6 months ago (2014-06-03 19:37:47 UTC) #2
eroman
https://codereview.chromium.org/298023002/diff/40001/LayoutTests/crypto/aes-cbc-invalid-length.html File LayoutTests/crypto/aes-cbc-invalid-length.html (right): https://codereview.chromium.org/298023002/diff/40001/LayoutTests/crypto/aes-cbc-invalid-length.html#newcode23 LayoutTests/crypto/aes-cbc-invalid-length.html:23: debug("importKey() should have failed, since the key length was ...
6 years, 6 months ago (2014-06-03 19:52:05 UTC) #3
jww
On 2014/06/03 19:52:05, eroman wrote: > https://codereview.chromium.org/298023002/diff/40001/LayoutTests/crypto/aes-cbc-invalid-length.html > File LayoutTests/crypto/aes-cbc-invalid-length.html (right): > > https://codereview.chromium.org/298023002/diff/40001/LayoutTests/crypto/aes-cbc-invalid-length.html#newcode23 > ...
6 years, 6 months ago (2014-06-03 21:00:19 UTC) #4
eroman
The CQ bit was checked by eroman@chromium.org
6 years, 6 months ago (2014-06-09 22:57:17 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/298023002/60001
6 years, 6 months ago (2014-06-09 22:58:00 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-06-09 23:10:14 UTC) #7
Message was sent while issue was closed.
Change committed as 175833

Powered by Google App Engine
This is Rietveld 408576698