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

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

Issue 292203007: Need to check invalid scheme in navigator content utils (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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/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/navigatorcontentutils/unregister-protocol-handler-expected.txt
diff --git a/LayoutTests/fast/dom/navigatorcontentutils/unregister-protocol-handler-expected.txt b/LayoutTests/fast/dom/navigatorcontentutils/unregister-protocol-handler-expected.txt
index 7cc63c9109e8cddc4019337cc42380da5b3b5570..63642586bffbe6f55148af92dfb7622b688dec0f 100644
--- a/LayoutTests/fast/dom/navigatorcontentutils/unregister-protocol-handler-expected.txt
+++ b/LayoutTests/fast/dom/navigatorcontentutils/unregister-protocol-handler-expected.txt
@@ -24,6 +24,10 @@ Pass: Valid protocol "urn" allowed.
Pass: Valid protocol "webcal" allowed.
Pass: Valid protocol "wtai" allowed.
Pass: Valid protocol "xmpp" allowed.
+Pass: Invalid scheme "mailto:" falied.
+Pass: Invalid scheme "ssh:/" falied.
+Pass: Invalid scheme "magnet:+" falied.
+Pass: Invalid scheme "tel:sip" falied.
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/navigatorcontentutils/unregister-protocol-handler.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698