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

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

Issue 214233002: [webcrypto] Split exportKey.html test into smaller files. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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-expected.txt » ('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
new file mode 100644
index 0000000000000000000000000000000000000000..58f91ac84a7b730ce88494ecd5c3ea354276fedf
--- /dev/null
+++ b/LayoutTests/crypto/exportKey-badParameters-expected.txt
@@ -0,0 +1,17 @@
+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 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 error is null
+PASS error is null
+PASS error is null
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/crypto/exportKey-badParameters.html ('k') | LayoutTests/crypto/exportKey-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698