Index: LayoutTests/http/tests/navigatorcontentutils/is-protocol-handler-registered-expected.txt |
diff --git a/LayoutTests/navigatorcontentutils/is-protocol-handler-registered-expected.txt b/LayoutTests/http/tests/navigatorcontentutils/is-protocol-handler-registered-expected.txt |
similarity index 79% |
rename from LayoutTests/navigatorcontentutils/is-protocol-handler-registered-expected.txt |
rename to LayoutTests/http/tests/navigatorcontentutils/is-protocol-handler-registered-expected.txt |
index 9e268b6115bdc6c0f8ef9b2100bdf64c061b79e8..73832f87a7be8d120b4440027c38dc89d15107b2 100644 |
--- a/LayoutTests/navigatorcontentutils/is-protocol-handler-registered-expected.txt |
+++ b/LayoutTests/http/tests/navigatorcontentutils/is-protocol-handler-registered-expected.txt |
@@ -6,6 +6,7 @@ PASS Invalid scheme "mailto:" falied. |
PASS Invalid scheme "ssh:/" falied. |
PASS Invalid scheme "magnet:+" falied. |
PASS Invalid scheme "tel:sip" falied. |
+PASS URL with origin different than document origin threw SecurityError exception: "Failed to execute 'isProtocolHandlerRegistered' on 'Navigator': Can only register custom handler in the document's origin.". |
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(). |