Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

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

Issue 293403002: Introduce mock test system for navigator content utils (Closed) Base URL:
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
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
index 3103c13f6979f8fbdbb0ac03cdcbe0ad76523963..a1a60ee518d234f4c209d0e5bae4a7e21b69e282 100644
--- a/LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered-expected.txt
+++ b/LayoutTests/fast/dom/navigatorcontentutils/is-protocol-handler-registered-expected.txt
@@ -6,7 +6,13 @@ PASS Invalid scheme "mailto:" falied.
PASS Invalid scheme "ssh:/" falied.
PASS Invalid scheme "magnet:+" falied.
PASS Invalid scheme "tel:sip" falied.
-PASS window.navigator.isProtocolHandlerRegistered returns "new" state
+Check if isProtocolHandlerRegistered() works correctly. If isProtocolHandlerRegistered() returns 'new' state, it works well.
+'bitcoin' protocol will be registered, and then checks if the 'bitcoin' protocol is registered by isProtocolHandlerRegistered().
+PASS window.navigator.isProtocolHandlerRegistered returns 'registered' state. isProtocolHandlerRegistered() works correctly.
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698