Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: LayoutTests/fast/dom/unregister-protocol-handler.html

Issue 22871006: Implement unregisterProtocolHandler() function on CUSTOM_SCHEME_HANDLER (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 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
« no previous file with comments | « no previous file | Source/core/page/RuntimeEnabledFeatures.in » ('j') | Source/web/ChromeClientImpl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/unregister-protocol-handler.html
diff --git a/LayoutTests/fast/dom/unregister-protocol-handler.html b/LayoutTests/fast/dom/unregister-protocol-handler.html
index 609726662a994ec463aa715a7490d7701aa4321a..0a299be14405d3d2a9030ac6a014bae6914fb62b 100644
--- a/LayoutTests/fast/dom/unregister-protocol-handler.html
+++ b/LayoutTests/fast/dom/unregister-protocol-handler.html
@@ -54,11 +54,11 @@ invalid_urls.forEach(function (url) {
try {
window.navigator.unregisterProtocolHandler('web+myprotocol', url, 'title');
} catch (e) {
- succeeded = 'SYNTAX_ERR' == e.name;
+ succeeded = 'SyntaxError' == e.name;
}
if (succeeded)
- debug('Pass: Invalid url "' + url + '" threw SYNTAX_ERR exception.');
+ debug('Pass: Invalid url "' + url + '" threw SyntaxError exception.');
else
debug('Fail: Invalid url "' + url + '" allowed.');
});
« no previous file with comments | « no previous file | Source/core/page/RuntimeEnabledFeatures.in » ('j') | Source/web/ChromeClientImpl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698