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

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

Issue 130823002: Fix *Fail* tests in unregisterProtocolHandler test (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
« no previous file with comments | « LayoutTests/fast/dom/unregister-protocol-handler.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/unregister-protocol-handler-expected.txt
diff --git a/LayoutTests/fast/dom/unregister-protocol-handler-expected.txt b/LayoutTests/fast/dom/unregister-protocol-handler-expected.txt
index 499dc0495242ae318800a336a234c8051635d5d6..7cc63c9109e8cddc4019337cc42380da5b3b5570 100644
--- a/LayoutTests/fast/dom/unregister-protocol-handler-expected.txt
+++ b/LayoutTests/fast/dom/unregister-protocol-handler-expected.txt
@@ -1,10 +1,10 @@
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.
-Pass: Invalid protocol "https" threw SecurityError exception.
-Pass: Invalid protocol "file" threw SecurityError exception.
-Pass: Invalid protocol "web+" threw SecurityError exception.
+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 "geo" allowed.
Pass: Valid protocol "im" allowed.
@@ -24,7 +24,7 @@ Pass: Valid protocol "urn" allowed.
Pass: Valid protocol "webcal" allowed.
Pass: Valid protocol "wtai" allowed.
Pass: Valid protocol "xmpp" allowed.
-Fail: Invalid url "" allowed.
-Fail: Invalid url "%S" allowed.
+Pass: Invalid url "" threw SyntaxError exception.Failed to execute 'unregisterProtocolHandler' on 'Navigator': The url provided ('') does not contain '%s'.".
+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.
« no previous file with comments | « LayoutTests/fast/dom/unregister-protocol-handler.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698