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

Unified Diff: LayoutTests/crypto/rsa-importKey-badUsages-expected.txt

Issue 692763002: Add Layouttest for importing keys with invalid usages (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rename and revert to the simple one line change approach Created 6 years, 2 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/rsa-importKey-badUsages.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/rsa-importKey-badUsages-expected.txt
diff --git a/LayoutTests/crypto/rsa-importKey-badUsages-expected.txt b/LayoutTests/crypto/rsa-importKey-badUsages-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ed07554d69268ab02d1c28aeafb20664c6f33e46
--- /dev/null
+++ b/LayoutTests/crypto/rsa-importKey-badUsages-expected.txt
@@ -0,0 +1,13 @@
+Tests that importing keys with invalid usages should fail with SyntaxError.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+error is: SyntaxError: Cannot create a key using the specified key usages.
+error is: SyntaxError: Cannot create a key using the specified key usages.
+error is: SyntaxError: Cannot create a key using the specified key usages.
+error is: SyntaxError: Cannot create a key using the specified key usages.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/crypto/rsa-importKey-badUsages.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698