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

Unified Diff: LayoutTests/fast/events/window-onerror-for-isolated-world-2.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
Index: LayoutTests/fast/events/window-onerror-for-isolated-world-2.html
diff --git a/LayoutTests/userscripts/window-onerror-for-isolated-world-2.html b/LayoutTests/fast/events/window-onerror-for-isolated-world-2.html
similarity index 90%
rename from LayoutTests/userscripts/window-onerror-for-isolated-world-2.html
rename to LayoutTests/fast/events/window-onerror-for-isolated-world-2.html
index c4851702703fd1c8a0c6cd2fbbbb1b3c2589d4cb..65d98db4b8a7b9b1366c5e2c58c4464a3f64c7cf 100644
--- a/LayoutTests/userscripts/window-onerror-for-isolated-world-2.html
+++ b/LayoutTests/fast/events/window-onerror-for-isolated-world-2.html
@@ -4,7 +4,7 @@
</head>
<body>
<p>Test that window.onerror and "error" event listeners from isolated 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>
@@ -57,7 +57,7 @@ var errorHandlers = function(isolatedWorld)
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
- testRunner.addUserScript("(" + errorHandlers + ")('user script'); (" + throwExceptions + ")('user script')", false, true);
+ testRunner.evaluateScriptInIsolatedWorld(1, "(" + errorHandlers + ")('isolated world'); (" + throwExceptions + ")('isolated world')");
}
throwExceptions("main world");

Powered by Google App Engine
This is Rietveld 408576698