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

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

Issue 440833006: Use a consistent scheme name in navigatorcontentutils tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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/unregister-protocol-handler-expected.txt
diff --git a/LayoutTests/navigatorcontentutils/unregister-protocol-handler-expected.txt b/LayoutTests/navigatorcontentutils/unregister-protocol-handler-expected.txt
index ad08d92703a0bcda84687eb6b3cbed97edf099f7..bcf293e398c1d240dad678789699b2a5d5fc2763 100644
--- a/LayoutTests/navigatorcontentutils/unregister-protocol-handler-expected.txt
+++ b/LayoutTests/navigatorcontentutils/unregister-protocol-handler-expected.txt
@@ -1,35 +1,35 @@
This test makes sure that navigator.unregisterProtocolHandler throws the proper exceptions and has no-op default implementation.
PASS window.navigator.unregisterProtocolHandler is defined.
-PASS Invalid protocol "http" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'http' doesn't belong to the protocol whitelist. Please prefix non-whitelisted schemes with the string 'web+'.".
-PASS Invalid protocol "https" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'https' doesn't belong to the protocol whitelist. Please prefix non-whitelisted schemes with the string 'web+'.".
-PASS Invalid protocol "file" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'file' doesn't belong to the protocol whitelist. Please prefix non-whitelisted schemes with the string 'web+'.".
-PASS Invalid protocol "web+" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'web+' is less than five characters long.".
-PASS Valid protocol "bitcoin" allowed.
-PASS Valid protocol "BitcoIn" allowed.
-PASS Valid protocol "geo" allowed.
-PASS Valid protocol "im" allowed.
-PASS Valid protocol "irc" allowed.
-PASS Valid protocol "Irc" allowed.
-PASS Valid protocol "ircs" allowed.
-PASS Valid protocol "magnet" allowed.
-PASS Valid protocol "MagneT" allowed.
-PASS Valid protocol "mailto" allowed.
-PASS Valid protocol "mms" allowed.
-PASS Valid protocol "news" allowed.
-PASS Valid protocol "nntp" allowed.
-PASS Valid protocol "sip" allowed.
-PASS Valid protocol "sms" allowed.
-PASS Valid protocol "smsto" allowed.
-PASS Valid protocol "SmsTo" allowed.
-PASS Valid protocol "ssh" allowed.
-PASS Valid protocol "tel" allowed.
-PASS Valid protocol "urn" allowed.
-PASS Valid protocol "webcal" allowed.
-PASS Valid protocol "WebCAL" allowed.
-PASS Valid protocol "wtai" allowed.
-PASS Valid protocol "WTAI" allowed.
-PASS Valid protocol "xmpp" allowed.
+PASS Invalid scheme "http" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'http' doesn't belong to the scheme whitelist. Please prefix non-whitelisted schemes with the string 'web+'.".
+PASS Invalid scheme "https" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'https' doesn't belong to the scheme whitelist. Please prefix non-whitelisted schemes with the string 'web+'.".
+PASS Invalid scheme "file" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'file' doesn't belong to the scheme whitelist. Please prefix non-whitelisted schemes with the string 'web+'.".
+PASS Invalid scheme "web+" threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': The scheme 'web+' is less than five characters long.".
+PASS Valid scheme "bitcoin" allowed.
+PASS Valid scheme "BitcoIn" allowed.
+PASS Valid scheme "geo" allowed.
+PASS Valid scheme "im" allowed.
+PASS Valid scheme "irc" allowed.
+PASS Valid scheme "Irc" allowed.
+PASS Valid scheme "ircs" allowed.
+PASS Valid scheme "magnet" allowed.
+PASS Valid scheme "MagneT" allowed.
+PASS Valid scheme "mailto" allowed.
+PASS Valid scheme "mms" allowed.
+PASS Valid scheme "news" allowed.
+PASS Valid scheme "nntp" allowed.
+PASS Valid scheme "sip" allowed.
+PASS Valid scheme "sms" allowed.
+PASS Valid scheme "smsto" allowed.
+PASS Valid scheme "SmsTo" allowed.
+PASS Valid scheme "ssh" allowed.
+PASS Valid scheme "tel" allowed.
+PASS Valid scheme "urn" allowed.
+PASS Valid scheme "webcal" allowed.
+PASS Valid scheme "WebCAL" allowed.
+PASS Valid scheme "wtai" allowed.
+PASS Valid scheme "WTAI" allowed.
+PASS Valid scheme "xmpp" allowed.
PASS Invalid scheme "mailto:" falied.
PASS Invalid scheme "ssh:/" falied.
PASS Invalid scheme "magnet:+" falied.
@@ -38,8 +38,8 @@ PASS Invalid url "" threw SyntaxError exception.Failed to execute 'unregisterPro
PASS Invalid url "%S" threw SyntaxError exception.Failed to execute 'unregisterProtocolHandler' on 'Navigator': The url provided ('%S') does not contain '%s'.".
PASS Valid call succeeded.
-Check if unregisterProtocolHandler can unregister protocol correctly. If isProtocolHandlerRegistered() returns 'new' state, unregisterProtoclHandler() works well.
-'bitcoin' protocol will be registered and unregistered for testing.
+Check if unregisterProtocolHandler can unregister scheme correctly. If isProtocolHandlerRegistered() returns 'new' state, unregisterProtoclHandler() works well.
+'bitcoin' scheme will be registered and unregistered for testing.
PASS window.navigator.isProtocolHandlerRegistered returns 'registered' state. 'bitcoin' is registered successfully.
PASS window.navigator.isProtocolHandlerRegistered returns 'new' state. 'bitcoin' is unregistered successfully.

Powered by Google App Engine
This is Rietveld 408576698