| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index e151d3d373c34fb7de7f3c94e83b219df66404f6..218e8300b3d9f5b486f412257945399cd50aa939 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -12151,6 +12151,7 @@ TEST(RegExpStringModification) {
|
| // Test that we cannot set a property on the global object if there
|
| // is a read-only property in the prototype chain.
|
| TEST(ReadOnlyPropertyInGlobalProto) {
|
| + i::FLAG_es5_readonly = true;
|
| v8::HandleScope scope;
|
| v8::Handle<v8::ObjectTemplate> templ = v8::ObjectTemplate::New();
|
| LocalContext context(0, templ);
|
|
|