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

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: Patch for landing 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
« no previous file with comments | « LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..24e98ef874d2d5355773e675758db5c4ad57986f
--- /dev/null
+++ b/LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered-expected.txt
@@ -0,0 +1,9 @@
+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
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698