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

Unified Diff: chrome/app/policy/policy_templates.json

Issue 8395044: Disable the Developer Tools when Javascript is disabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed unit_tests, added some more tests Created 9 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
Index: chrome/app/policy/policy_templates.json
diff --git a/chrome/app/policy/policy_templates.json b/chrome/app/policy/policy_templates.json
index f08b1c98b44ddd7264d0b2e5e2a90689d2790ea9..1e012b7721220c06b41af7e3ba88e6ca419690ab 100644
--- a/chrome/app/policy/policy_templates.json
+++ b/chrome/app/policy/policy_templates.json
@@ -263,14 +263,17 @@
'type': 'main',
'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
'features': {'dynamic_refresh': 0},
+ 'deprecated': True,
'example_value': True,
'id': 9,
'caption': '''Enable JavaScript''',
- 'desc': '''Enables JavaScript in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
+ 'desc': '''This policy is deprecated. Please use DefaultJavaScriptSetting instead.
+
+ Enables JavaScript in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> and prevents users from changing this setting.
If this setting is enabled or not configured, web pages can use JavaScript.
- If this setting is disabled, web pages cannot use JavaScript.''',
+ If this setting is disabled, web pages cannot use JavaScript. This will also force DefaultJavaScriptSetting to block JavaScript on all sites.''',
Mattias Nissler (ping if slow) 2011/11/03 18:42:02 I guess you want to say that this force-enables th
Joao da Silva 2011/11/03 20:46:55 Yes, that's what I meant. DefaultJavaScriptSetting
},
{
'name': 'IncognitoEnabled',

Powered by Google App Engine
This is Rietveld 408576698