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

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

Issue 817123003: Remove commandline flag --disable-javascript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unsed variables 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 | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 546a2b1ecdfcec6fb7a0521949dd43fcf6e87367..62db1a02d2bf05ae62eee5ce8fbab4f54de978a7 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -170,9 +170,6 @@ const char kDisableImplSidePainting[] = "disable-impl-side-painting";
// Prevent Java from running.
const char kDisableJava[] = "disable-java";
-// Don't execute JavaScript (browser JS like the new tab page still runs).
-const char kDisableJavaScript[] = "disable-javascript";
-
// Don't kill a child process when it sends a bad IPC message. Apart
// from testing, it is a bad idea from a security perspective to enable
// this switch.
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698