Chromium Code Reviews| 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. |