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

Unified Diff: LayoutTests/crypto/wrapKey-badParameters-expected.txt

Issue 222003006: [webcrypto] Don't throw any extra WebIDL exceptions from WebCrypto methods. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 8 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/wrapKey-badParameters.html ('k') | Source/modules/crypto/SubtleCrypto.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/wrapKey-badParameters-expected.txt
diff --git a/LayoutTests/crypto/wrapKey-badParameters-expected.txt b/LayoutTests/crypto/wrapKey-badParameters-expected.txt
index 6ae677e9680180cf01ad667b4335396c2b22c4a5..17c0dc4828e8dec063866630c707155b845ec80e 100644
--- a/LayoutTests/crypto/wrapKey-badParameters-expected.txt
+++ b/LayoutTests/crypto/wrapKey-badParameters-expected.txt
@@ -1,3 +1,6 @@
+CONSOLE ERROR: Invalid key argument
+CONSOLE ERROR: Invalid wrappingKey argument
+CONSOLE ERROR: Algorithm: Not an object
CONSOLE ERROR: Invalid keyFormat argument
CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation
CONSOLE ERROR: key.algorithm does not match that of operation
@@ -6,9 +9,9 @@ Tests calls to wrapKey() with bad inputs.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS crypto.subtle.wrapKey('raw', 1, wrappingKey, wrapAlgorithm) threw exception TypeError: Failed to execute 'wrapKey' on 'SubtleCrypto': Invalid key argument.
-PASS crypto.subtle.wrapKey('raw', key, '', wrapAlgorithm) threw exception TypeError: Failed to execute 'wrapKey' on 'SubtleCrypto': Invalid wrappingKey argument.
-PASS crypto.subtle.wrapKey('raw', key, wrappingKey, undefined) threw exception TypeError: Failed to execute 'wrapKey' on 'SubtleCrypto': Algorithm: Not an object.
+PASS error is null
+PASS error is null
+PASS error is null
PASS error is null
PASS error is null
PASS error is null
« no previous file with comments | « LayoutTests/crypto/wrapKey-badParameters.html ('k') | Source/modules/crypto/SubtleCrypto.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698