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

Unified Diff: LayoutTests/crypto/rsa-importKey-failures-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: 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
Index: LayoutTests/crypto/rsa-importKey-failures-expected.txt
diff --git a/LayoutTests/crypto/rsa-importKey-failures-expected.txt b/LayoutTests/crypto/rsa-importKey-failures-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a760898c75a11a6110aa016f5aae69c086695164
--- /dev/null
+++ b/LayoutTests/crypto/rsa-importKey-failures-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: Parameter 'usages' was missing or out-of-range.
+error is: SyntaxError: Parameter 'usages' was missing or out-of-range.
+error is: SyntaxError: Parameter 'usages' was missing or out-of-range.
+error is: SyntaxError: Parameter 'usages' was missing or out-of-range.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698