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

Unified Diff: LayoutTests/fast/events/window-onerror-for-isolated-world-1.html

Issue 14188004: Remove UserScript support, which is not used by Chromium (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove one more test Created 7 years, 8 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 | LayoutTests/fast/events/window-onerror-for-isolated-world-1-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/window-onerror-for-isolated-world-1.html
diff --git a/LayoutTests/userscripts/window-onerror-for-isolated-world-1.html b/LayoutTests/fast/events/window-onerror-for-isolated-world-1.html
similarity index 91%
rename from LayoutTests/userscripts/window-onerror-for-isolated-world-1.html
rename to LayoutTests/fast/events/window-onerror-for-isolated-world-1.html
index 8369396db328a8c8824bd0147e99d7e13adb643f..af4b00507a91811dd3204632da15d5d06e0c654f 100644
--- a/LayoutTests/userscripts/window-onerror-for-isolated-world-1.html
+++ b/LayoutTests/fast/events/window-onerror-for-isolated-world-1.html
@@ -4,7 +4,7 @@
</head>
<body>
<p>Test that window.onerror and "error" event listeners from main world are
-invoked for uncaught exceptions in user scripts running in isolate worlds as
+invoked for uncaught exceptions in scripts running in isolate worlds as
well as for exceptions in the main world.<a href="https://bugs.webkit.org/show_bug.cgi?id=8519">Bug 8519.</a>
</p>
<div id="console"></div>
@@ -58,7 +58,7 @@ var exceptions = function(isolatedWorld)
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
- testRunner.addUserScript("(" + exceptions + ")('user script')", false, true);
+ testRunner.evaluateScriptInIsolatedWorld(1, "(" + exceptions + ")('isolated world')");
}
exceptions("main world");
« no previous file with comments | « no previous file | LayoutTests/fast/events/window-onerror-for-isolated-world-1-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698