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

Unified Diff: LayoutTests/crypto/aes-export-key-expected.txt

Issue 806913006: [WebCrypto] Move LayoutTests from crypto to crypto/subtle (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update path for deserialize legacy tests Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/crypto/aes-export-key.html ('k') | LayoutTests/crypto/aes-gcm-encrypt-decrypt.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/aes-export-key-expected.txt
diff --git a/LayoutTests/crypto/aes-export-key-expected.txt b/LayoutTests/crypto/aes-export-key-expected.txt
deleted file mode 100644
index ca56562a3b149b111503ca922ce3c7587aa5465d..0000000000000000000000000000000000000000
--- a/LayoutTests/crypto/aes-export-key-expected.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-Test exporting an AES key.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-error is: TypeError: Failed to execute 'exportKey' on 'SubtleCrypto': 2 arguments required, but only 1 present.
-error is: TypeError: Invalid key argument
-error is: TypeError: Invalid key argument
-error is: TypeError: Invalid key argument
-error is: TypeError: Invalid key argument
-
-Importing a JWK key...
-error is: TypeError: Invalid keyFormat argument
-error is: TypeError: Invalid keyFormat argument
-error is: TypeError: Invalid keyFormat argument
-error is: TypeError: Invalid keyFormat argument
-error is: TypeError: Invalid keyFormat argument
-
-Exporting the key as raw data...
-PASS bytesToHexString(new Uint8Array(exportedData)) is '8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b8e73b0f7da0e6452'
-Exporting the key as JWK...
-PASS exportedJWK.kty is 'oct'
-PASS exportedJWK.k is 'jnOw99oOZFLIEPMrgJB55WL46tJSLGt7jnOw99oOZFI'
-PASS exportedJWK.alg is 'A256CBC'
-PASS exportedJWK.ext is true
-PASS exportedJWK.use is undefined
-PASS exportedJWK.key_ops is ['encrypt', 'decrypt', 'wrapKey', 'unwrapKey']
-
-Importing a key that's not extractable...
-
-Trying to export as raw...
-PASS Rejected, as expected
-error is: InvalidAccessError: key is not extractable
-Trying to export as jwk...
-PASS Rejected, as expected
-error is: InvalidAccessError: key is not extractable
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
« no previous file with comments | « LayoutTests/crypto/aes-export-key.html ('k') | LayoutTests/crypto/aes-gcm-encrypt-decrypt.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698