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