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

Unified Diff: test/cctest/test-api.cc

Issue 10163003: Put new global var semantics behind a flag until WebKit tests are cleaned up. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index 9155993612dd71f420f444634df77e666cc6d3a7..1d22c5e463ac66f9d55bc55a59628215302c8e78 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -12483,6 +12483,7 @@ THREADED_TEST(GetCallingContext) {
// Check that a variable declaration with no explicit initialization
// value does shadow an existing property in the prototype chain.
THREADED_TEST(InitGlobalVarInProtoChain) {
+ v8::internal::FLAG_es52_globals = true;
Michael Starzinger 2012/04/20 13:28:45 Can we just use "i::FLAG_es52_globals"?
rossberg 2012/04/20 14:01:07 Done.
v8::HandleScope scope;
LocalContext context;
// Introduce a variable in the prototype chain.

Powered by Google App Engine
This is Rietveld 408576698