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

Unified Diff: LayoutTests/crypto/exportKey-expected.txt

Issue 170243007: [webcrypto] Make all of the crypto.subtle method failures asynchronous. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months 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/exportKey.html ('k') | LayoutTests/crypto/generateKey.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/exportKey-expected.txt
diff --git a/LayoutTests/crypto/exportKey-expected.txt b/LayoutTests/crypto/exportKey-expected.txt
index d82fbf28a3cdbfe42df4711f42dee716ba1030b7..76b3746eb64043f3b1fabefa58484bab1da4595d 100644
--- a/LayoutTests/crypto/exportKey-expected.txt
+++ b/LayoutTests/crypto/exportKey-expected.txt
@@ -1,15 +1,18 @@
+CONSOLE ERROR: Invalid keyFormat argument
+CONSOLE ERROR: Invalid keyFormat argument
+CONSOLE ERROR: Invalid keyFormat argument
CONSOLE ERROR: key is not extractable
Tests cypto.subtle.exportKey.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS crypto.subtle.exportKey(3, keys.aesCbcJustDecrypt) threw exception TypeError: Failed to execute 'exportKey' on 'SubtleCrypto': Invalid keyFormat argument.
-PASS crypto.subtle.exportKey(null, keys.aesCbcJustDecrypt) threw exception TypeError: Failed to execute 'exportKey' on 'SubtleCrypto': Invalid keyFormat argument.
-PASS crypto.subtle.exportKey('invalid', keys.aesCbcJustDecrypt) threw exception TypeError: Failed to execute 'exportKey' on 'SubtleCrypto': Invalid keyFormat argument.
PASS crypto.subtle.exportKey('raw', null) threw exception TypeError: Failed to execute 'exportKey' on 'SubtleCrypto': Invalid key argument.
PASS crypto.subtle.exportKey('raw', 3) threw exception TypeError: Failed to execute 'exportKey' on 'SubtleCrypto': Invalid key argument.
PASS keys.aesCbcJustDecrypt.extractable is false
+PASS: 'crypto.subtle.exportKey(3, keys.aesCbcJustDecrypt)' rejected with null
+PASS: 'crypto.subtle.exportKey(null, keys.aesCbcJustDecrypt)' rejected with null
+PASS: 'crypto.subtle.exportKey('invalid', keys.aesCbcJustDecrypt)' rejected with null
PASS: 'crypto.subtle.exportKey('raw', keys.aesCbcJustDecrypt)' rejected with null
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/crypto/exportKey.html ('k') | LayoutTests/crypto/generateKey.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698