Index: sky/engine/bindings/core/v8/V8Initializer.cpp |
diff --git a/sky/engine/bindings/core/v8/V8Initializer.cpp b/sky/engine/bindings/core/v8/V8Initializer.cpp |
index 0818fc758e4079897000a7d242c66b85ce1ca82e..6551d81deccf8d61e0f933d03cf41992a77bb518 100644 |
--- a/sky/engine/bindings/core/v8/V8Initializer.cpp |
+++ b/sky/engine/bindings/core/v8/V8Initializer.cpp |
@@ -200,7 +200,7 @@ void V8Initializer::initializeMainThreadIfNeeded() |
return; |
initialized = true; |
- static const char v8Flags[] = "--harmony-classes"; |
+ static const char v8Flags[] = "--harmony-classes --harmony-arrays --harmony-array-includes --harmony-regexps"; |
v8::V8::SetFlagsFromString(v8Flags, sizeof(v8Flags) - 1); |
gin::IsolateHolder::Initialize(gin::IsolateHolder::kStrictMode, v8ArrayBufferAllocator()); |