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

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

Issue 243853004: [webcrypto] Reject failed operations with a DOMException rather than null. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compile warning 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/exportKey-badParameters.html ('k') | LayoutTests/crypto/exportKey-unextractable.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/exportKey-badParameters-expected.txt
diff --git a/LayoutTests/crypto/exportKey-badParameters-expected.txt b/LayoutTests/crypto/exportKey-badParameters-expected.txt
index 483aeec8458f21d6a237468bcbcc0cf51fa28da8..578f990354148582f9a796892a1077d7002fc04c 100644
--- a/LayoutTests/crypto/exportKey-badParameters-expected.txt
+++ b/LayoutTests/crypto/exportKey-badParameters-expected.txt
@@ -1,18 +1,13 @@
-CONSOLE ERROR: Invalid key argument
-CONSOLE ERROR: Invalid key argument
-CONSOLE ERROR: Invalid keyFormat argument
-CONSOLE ERROR: Invalid keyFormat argument
-CONSOLE ERROR: Invalid keyFormat argument
Tests exportKey() given bad inputs.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS error is null
-PASS error is null
-PASS error is null
-PASS error is null
-PASS error is null
+error is: DataError: Invalid key argument
+error is: DataError: Invalid key argument
+error is: SyntaxError: Invalid keyFormat argument
+error is: SyntaxError: Invalid keyFormat argument
+error is: SyntaxError: Invalid keyFormat argument
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/crypto/exportKey-badParameters.html ('k') | LayoutTests/crypto/exportKey-unextractable.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698