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..9ba61f76287caa4be22392b72eadf9841f73ec91 100644 |
--- a/LayoutTests/navigatorcontentutils/unregister-protocol-handler-expected.txt |
+++ b/LayoutTests/navigatorcontentutils/unregister-protocol-handler-expected.txt |
@@ -36,6 +36,7 @@ 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 Invalid url threw SecurityError exception: "Failed to execute 'unregisterProtocolHandler' on 'Navigator': Can only register custom handler in the document's origin.". |
PASS Valid call succeeded. |
Check if unregisterProtocolHandler can unregister protocol correctly. If isProtocolHandlerRegistered() returns 'new' state, unregisterProtoclHandler() works well. |