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

Unified Diff: sky/engine/bindings/core/v8/V8Initializer.cpp

Issue 845403009: Turn on harmony arrays and regexp. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | sky/examples/fps-counter.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « no previous file | sky/examples/fps-counter.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698