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

Unified Diff: LayoutTests/crypto/importKey-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/importKey-badParameters.html ('k') | LayoutTests/crypto/sign-verify-badParameters.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/importKey-badParameters-expected.txt
diff --git a/LayoutTests/crypto/importKey-badParameters-expected.txt b/LayoutTests/crypto/importKey-badParameters-expected.txt
index 02826af7974460622f49b1cda2fb5370fecc4a31..f10557a01f26e85565f913463681ebf24611353b 100644
--- a/LayoutTests/crypto/importKey-badParameters-expected.txt
+++ b/LayoutTests/crypto/importKey-badParameters-expected.txt
@@ -1,3 +1,6 @@
+CONSOLE ERROR: Invalid keyData argument
+CONSOLE ERROR: Invalid keyData argument
+CONSOLE ERROR: Algorithm: Not an object
CONSOLE ERROR: Invalid keyFormat argument
CONSOLE ERROR: Invalid keyUsages argument
CONSOLE ERROR: Invalid keyFormat argument
@@ -8,9 +11,9 @@ Tests calling cypto.subtle.importKey with bad parameters
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS crypto.subtle.importKey('raw', [], aesCbc, extractable, ['encrypt']) threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Invalid keyData argument.
-PASS crypto.subtle.importKey('raw', null, aesCbc, extractable, ['encrypt']) threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Invalid keyData argument.
-PASS crypto.subtle.importKey('raw', aesCbc, null, extractable, ['encrypt']) threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Invalid keyData argument.
+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/importKey-badParameters.html ('k') | LayoutTests/crypto/sign-verify-badParameters.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698