Index: LayoutTests/http/tests/security/isolatedWorld/dispatchEvent.html |
diff --git a/LayoutTests/http/tests/security/isolatedWorld/dispatchEvent.html b/LayoutTests/http/tests/security/isolatedWorld/dispatchEvent.html |
index 7deca85b5141a55ce37df21f63baee66758fe35a..5e6db5641d5a9ddbc57b0bad9686d85f62fafd6b 100644 |
--- a/LayoutTests/http/tests/security/isolatedWorld/dispatchEvent.html |
+++ b/LayoutTests/http/tests/security/isolatedWorld/dispatchEvent.html |
@@ -46,7 +46,7 @@ if (window.testRunner) { |
// setup common functions in worlds |
for (var world = 0; world < 2; ++world) { |
var script = log.toString() + sendMessage.toString() + document.getElementById("isolatedScript" + world).innerHTML; |
- testRunner.evaluateScriptInIsolatedWorld(world, script); |
+ testRunner.evaluateScriptInIsolatedWorld(world + 1, script); |
} |
log("Sending from main world..."); |
sendMessage(); |