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

Unified Diff: LayoutTests/http/tests/security/isolatedWorld/dispatchEvent.html

Issue 13954010: Eliminate "temporary" and "uninitialized" isolated worlds (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/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();

Powered by Google App Engine
This is Rietveld 408576698