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

Unified Diff: LayoutTests/crypto/sign-verify-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/sign-verify-badParameters.html ('k') | LayoutTests/crypto/unwrapKey-badParameters.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/sign-verify-badParameters-expected.txt
diff --git a/LayoutTests/crypto/sign-verify-badParameters-expected.txt b/LayoutTests/crypto/sign-verify-badParameters-expected.txt
index 15ac2e3b5b0068d1c3afcc4117d13442cdc33d48..d9c41c43dd090ae170423d95fdfcf9bcd50f25fb 100644
--- a/LayoutTests/crypto/sign-verify-badParameters-expected.txt
+++ b/LayoutTests/crypto/sign-verify-badParameters-expected.txt
@@ -1,3 +1,6 @@
+CONSOLE ERROR: Invalid signature argument
+CONSOLE ERROR: Invalid signature argument
+CONSOLE ERROR: Invalid signature argument
CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation
CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: Unsupported operation
Tests calling cypto.subtle.sign and crypto.subtle.verify with incorrect inputs
@@ -5,9 +8,9 @@ Tests calling cypto.subtle.sign and crypto.subtle.verify with incorrect inputs
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS crypto.subtle.verify(hmac, key, null, data) threw exception TypeError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argument.
-PASS crypto.subtle.verify(hmac, key, 'a', data) threw exception TypeError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argument.
-PASS crypto.subtle.verify(hmac, key, [], data) threw exception TypeError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argument.
+PASS error is null
+PASS error is null
+PASS error is null
PASS error is null
PASS error is null
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/crypto/sign-verify-badParameters.html ('k') | LayoutTests/crypto/unwrapKey-badParameters.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698