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

Unified Diff: chrome/common/chrome_features.cc

Issue 2477633003: [Mac] Add a feature flag to disable Javascript execution in Applescript (Closed)
Patch Set: Created 4 years, 1 month 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
« chrome/common/chrome_features.h ('K') | « chrome/common/chrome_features.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_features.cc
diff --git a/chrome/common/chrome_features.cc b/chrome/common/chrome_features.cc
index 2b9424b4b74e7b06ab23ba34c4350b6d23234515..32a4a7d17a72448af7f153e4e8ea4ff8f4323b45 100644
--- a/chrome/common/chrome_features.cc
+++ b/chrome/common/chrome_features.cc
@@ -8,6 +8,11 @@ namespace features {
// All features in alphabetical order.
+#if defined(OS_MACOSX)
+const base::Feature kApplescriptExecuteJavascript{
+ "ApplescriptExecuteJavascript", base::FEATURE_ENABLED_BY_DEFAULT};
+#endif // defined(OS_MACOSX
+
#if defined(OS_CHROMEOS)
// Whether to handle low memory kill of ARC apps by Chrome.
const base::Feature kArcMemoryManagement{
« chrome/common/chrome_features.h ('K') | « chrome/common/chrome_features.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698