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..01ebd42daaff4b3c790c65a7f06d56916197e1c1 100644 |
--- a/LayoutTests/navigatorcontentutils/unregister-protocol-handler-expected.txt |
+++ b/LayoutTests/navigatorcontentutils/unregister-protocol-handler-expected.txt |
@@ -37,6 +37,7 @@ 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. |
+PASS Invalid url threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': Can only register handler in the document's origin.". |
Check if unregisterProtocolHandler can unregister protocol correctly. If isProtocolHandlerRegistered() returns 'new' state, unregisterProtoclHandler() works well. |
'bitcoin' protocol will be registered and unregistered for testing. |