Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 1ce555623789bf9649a9c2c41ec89231ee7c1d33..3be500814533e45ee0b6273f45577438fa35019f 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -2682,6 +2682,9 @@ static void CheckInternalFieldsAreZero(v8::Handle<T> value) { |
THREADED_TEST(ArrayBuffer_ApiInternalToExternal) { |
+ i::FLAG_harmony_array_buffer = true; |
+ i::FLAG_harmony_typed_arrays = true; |
+ |
LocalContext env; |
v8::Isolate* isolate = env->GetIsolate(); |
v8::HandleScope handle_scope(isolate); |
@@ -2718,6 +2721,9 @@ THREADED_TEST(ArrayBuffer_ApiInternalToExternal) { |
THREADED_TEST(ArrayBuffer_JSInternalToExternal) { |
+ i::FLAG_harmony_array_buffer = true; |
+ i::FLAG_harmony_typed_arrays = true; |
+ |
LocalContext env; |
v8::Isolate* isolate = env->GetIsolate(); |
v8::HandleScope handle_scope(isolate); |
@@ -2760,6 +2766,9 @@ THREADED_TEST(ArrayBuffer_JSInternalToExternal) { |
THREADED_TEST(ArrayBuffer_External) { |
+ i::FLAG_harmony_array_buffer = true; |
+ i::FLAG_harmony_typed_arrays = true; |
+ |
LocalContext env; |
v8::Isolate* isolate = env->GetIsolate(); |
v8::HandleScope handle_scope(isolate); |
@@ -12949,6 +12958,9 @@ TEST(SetFunctionEntryHook) { |
// Experimental natives are compiled during snapshot deserialization. |
// This test breaks because InstallGetter (function from snapshot that |
// only gets called from experimental natives) is compiled with entry hooks. |
+ i::FLAG_harmony_typed_arrays = false; |
+ i::FLAG_harmony_array_buffer = false; |
+ |
i::FLAG_allow_natives_syntax = true; |
i::FLAG_use_inlining = false; |
@@ -16145,6 +16157,8 @@ THREADED_TEST(DataView) { |
#define IS_ARRAY_BUFFER_VIEW_TEST(View) \ |
THREADED_TEST(Is##View) { \ |
+ i::FLAG_harmony_array_buffer = true; \ |
+ i::FLAG_harmony_typed_arrays = true; \ |
LocalContext env; \ |
v8::Isolate* isolate = env->GetIsolate(); \ |
v8::HandleScope handle_scope(isolate); \ |