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

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

Issue 392993005: Custom handlers should throw SecurityError exception if the URL's origin differs from the document'… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Done Created 6 years, 3 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/navigatorcontentutils/is-protocol-handler-registered-expected.txt
diff --git a/LayoutTests/navigatorcontentutils/is-protocol-handler-registered-expected.txt b/LayoutTests/navigatorcontentutils/is-protocol-handler-registered-expected.txt
deleted file mode 100644
index 9e268b6115bdc6c0f8ef9b2100bdf64c061b79e8..0000000000000000000000000000000000000000
--- a/LayoutTests/navigatorcontentutils/is-protocol-handler-registered-expected.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-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 Invalid scheme "mailto:" falied.
-PASS Invalid scheme "ssh:/" falied.
-PASS Invalid scheme "magnet:+" falied.
-PASS Invalid scheme "tel:sip" falied.
-
-Check if isProtocolHandlerRegistered() works correctly. If isProtocolHandlerRegistered() returns 'new' state, it works well.
-'bitcoin' scheme will be registered, and then checks if the 'bitcoin' scheme is registered by isProtocolHandlerRegistered().
-
-PASS window.navigator.isProtocolHandlerRegistered returns 'registered' state. isProtocolHandlerRegistered() works correctly.
-
-
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Powered by Google App Engine
This is Rietveld 408576698