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

Unified Diff: LayoutTests/http/tests/misc/execute-and-return-value.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/misc/execute-and-return-value.html
diff --git a/LayoutTests/http/tests/misc/execute-and-return-value.html b/LayoutTests/http/tests/misc/execute-and-return-value.html
index 4e306bbf0dfb5e5c24996b6facfacaab284a45ad..e8b459301d36ec4e2d5330c818d58b3cbb38c70f 100644
--- a/LayoutTests/http/tests/misc/execute-and-return-value.html
+++ b/LayoutTests/http/tests/misc/execute-and-return-value.html
@@ -5,23 +5,23 @@
if (window.testRunner) {
testRunner.dumpAsText();
- var intTest = testRunner.evaluateScriptInIsolatedWorldAndReturnValue(0, "5");
+ var intTest = testRunner.evaluateScriptInIsolatedWorldAndReturnValue(1, "5");
document.body.appendChild(document.createTextNode('Expecting 5: ' + intTest));
document.body.appendChild(document.createElement('br'));
- var doubleTest = testRunner.evaluateScriptInIsolatedWorldAndReturnValue(0, "3.14");
+ var doubleTest = testRunner.evaluateScriptInIsolatedWorldAndReturnValue(1, "3.14");
document.body.appendChild(document.createTextNode('Expecting 3.14: ' + doubleTest));
document.body.appendChild(document.createElement('br'));
- var stringTest = testRunner.evaluateScriptInIsolatedWorldAndReturnValue(0, '"The quick brown dog."');
+ var stringTest = testRunner.evaluateScriptInIsolatedWorldAndReturnValue(1, '"The quick brown dog."');
document.body.appendChild(document.createTextNode('Expecting "The quick brown dog.": ' + stringTest));
document.body.appendChild(document.createElement('br'));
- var booleanTest = testRunner.evaluateScriptInIsolatedWorldAndReturnValue(0, "!true");
+ var booleanTest = testRunner.evaluateScriptInIsolatedWorldAndReturnValue(1, "!true");
document.body.appendChild(document.createTextNode('Expecting false: ' + booleanTest));
document.body.appendChild(document.createElement('br'));
- var nullTest = testRunner.evaluateScriptInIsolatedWorldAndReturnValue(0, "null");
+ var nullTest = testRunner.evaluateScriptInIsolatedWorldAndReturnValue(1, "null");
document.body.appendChild(document.createTextNode('Expecting null: ' + nullTest));
document.body.appendChild(document.createElement('br'));
}

Powered by Google App Engine
This is Rietveld 408576698