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

Unified Diff: content/public/common/content_switches.cc

Issue 588543003: Let --js-flags work when Harmony is enabled in about:flags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index c42937282845f483ac6f702e65d65ad38c6cf136..e1e8848c9bca086a9966d907f343da70259b0687 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -557,6 +557,9 @@ const char kIPCConnectionTimeout[] = "ipc-connection-timeout";
// Specifies the flags passed to JS engine
const char kJavaScriptFlags[] = "js-flags";
+// Enable Harmony (ECMAScript 6) experimental features in JavaScript.
+const char kJavaScriptHarmony[] = "enable-javascript-harmony";
+
// Load an NPAPI plugin from the specified path.
const char kLoadPlugin[] = "load-plugin";

Powered by Google App Engine
This is Rietveld 408576698