Index: LayoutTests/navigatorcontentutils/register-protocol-handler.html |
diff --git a/LayoutTests/navigatorcontentutils/register-protocol-handler.html b/LayoutTests/navigatorcontentutils/register-protocol-handler.html |
index 94f4f210f7284f034c90dbe088f96459c888977a..5501432fa49436f100272390e8ab95ad2cd87286 100644 |
--- a/LayoutTests/navigatorcontentutils/register-protocol-handler.html |
+++ b/LayoutTests/navigatorcontentutils/register-protocol-handler.html |
@@ -56,7 +56,7 @@ invalid_schemes.forEach(function (scheme) { |
try { |
window.navigator.registerProtocolHandler(scheme, 'invalid scheme uri=%s', 'title'); |
} catch (e) { |
- succeeded = 'SyntaxError' == e.name; |
+ succeeded = 'SecurityError' == e.name; |
errorMessage = e.message; |
} |