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

Unified Diff: LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered-expected.txt

Issue 147083008: Add a test case for navigator.isProtocolHandlerRegistered (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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/fast/dom/navigatorcontentutils/is-protocol-handler-registered-expected.txt
diff --git a/LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered-expected.txt b/LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4bc642c5783209e1dfc56ac88a1456b65ec5eb05
--- /dev/null
+++ b/LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered-expected.txt
@@ -0,0 +1,6 @@
+This test makes sure that navigator.isProtocolHandlerRegistered throws the proper exceptions and returns the default state of handler.
+
+Pass: window.navigator.isProtocolHandlerRegistered is defined.
+Pass: Invalid url "%S" threw SyntaxError exception.
+Pass: window.navigator.isProtocolHandlerRegistered returns "new" state
+

Powered by Google App Engine
This is Rietveld 408576698