| 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");
|
|
|