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

Unified Diff: test/mjsunit/runtime-gen/compilestring.js

Issue 653603002: Try to fix cross-script global scope (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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
« no previous file with comments | « test/mjsunit/harmony/debug-function-scopes.js ('k') | tools/generate-runtime-tests.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/runtime-gen/compilestring.js
diff --git a/test/mjsunit/runtime-gen/compilestring.js b/test/mjsunit/runtime-gen/compilestring.js
index cc3e10c6a7796c193a31d86412aab357dfbf011f..b229809939f5a7d7852e860d75292ebf44751b9c 100644
--- a/test/mjsunit/runtime-gen/compilestring.js
+++ b/test/mjsunit/runtime-gen/compilestring.js
@@ -2,5 +2,6 @@
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony
var _source = "foo";
-var arg1 = false;
-%CompileString(_source, arg1);
+var _global_proxy = this;
+var arg2 = false;
+%CompileString(_source, _global_proxy, arg2);
« no previous file with comments | « test/mjsunit/harmony/debug-function-scopes.js ('k') | tools/generate-runtime-tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698