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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 { 1 {
2 # policy_templates.json - Metafile for policy templates 2 # policy_templates.json - Metafile for policy templates
3 # 3 #
4 # The content of this file is evaluated as a Python expression. 4 # The content of this file is evaluated as a Python expression.
5 # 5 #
6 # This file is used as input to generate the following policy templates: 6 # This file is used as input to generate the following policy templates:
7 # ADM, ADMX+ADML, MCX/plist and html documentation. 7 # ADM, ADMX+ADML, MCX/plist and html documentation.
8 # 8 #
9 # Policy templates are user interface definitions or documents about the 9 # Policy templates are user interface definitions or documents about the
10 # policies that can be used to configure Chrome. Each policy is a name-value 10 # policies that can be used to configure Chrome. Each policy is a name-value
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 'desc': '''Disables the listed protocol schemes in <ph name="PRODUCT_NAME" >$1<ex>Google Chrome</ex></ph>. 256 'desc': '''Disables the listed protocol schemes in <ph name="PRODUCT_NAME" >$1<ex>Google Chrome</ex></ph>.
257 257
258 URLs using a scheme from this list will not load and can not be navigated to.''', 258 URLs using a scheme from this list will not load and can not be navigated to.''',
259 'label': '''List of disabled protocol schemes''', 259 'label': '''List of disabled protocol schemes''',
260 }, 260 },
261 { 261 {
262 'name': 'JavascriptEnabled', 262 'name': 'JavascriptEnabled',
263 'type': 'main', 263 'type': 'main',
264 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'], 264 'supported_on': ['chrome.*:8-', 'chrome_os:0.11-'],
265 'features': {'dynamic_refresh': 0}, 265 'features': {'dynamic_refresh': 0},
266 'deprecated': True,
266 'example_value': True, 267 'example_value': True,
267 'id': 9, 268 'id': 9,
268 'caption': '''Enable JavaScript''', 269 'caption': '''Enable JavaScript''',
269 'desc': '''Enables JavaScript in <ph name="PRODUCT_NAME">$1<ex>Google Chro me</ex></ph> and prevents users from changing this setting. 270 'desc': '''This policy is deprecated. Please use DefaultJavaScriptSetting instead.
271
272 Enables JavaScript in <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph > and prevents users from changing this setting.
270 273
271 If this setting is enabled or not configured, web pages can use JavaScript . 274 If this setting is enabled or not configured, web pages can use JavaScript .
272 275
273 If this setting is disabled, web pages cannot use JavaScript.''', 276 If this setting is disabled, web pages cannot use JavaScript. This will al so 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
274 }, 277 },
275 { 278 {
276 'name': 'IncognitoEnabled', 279 'name': 'IncognitoEnabled',
277 'type': 'main', 280 'type': 'main',
278 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'], 281 'supported_on': ['chrome.*:11-', 'chrome_os:0.11-'],
279 'features': {'dynamic_refresh': 1}, 282 'features': {'dynamic_refresh': 1},
280 'deprecated': True, 283 'deprecated': True,
281 'example_value': False, 284 'example_value': False,
282 'id': 10, 285 'id': 10,
283 'caption': '''Enable Incognito mode''', 286 'caption': '''Enable Incognito mode''',
(...skipping 1661 matching lines...) Expand 10 before | Expand all | Expand 10 after
1945 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''', 1948 'desc': '''The name of the feature that indicates for a given policy that changes to it are respected by Chrome without a browser restart''',
1946 'text': '''Dynamic Policy Refresh''' 1949 'text': '''Dynamic Policy Refresh'''
1947 }, 1950 },
1948 'doc_deprecated': { 1951 'doc_deprecated': {
1949 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''', 1952 'desc': '''Text appended in parentheses to the policy name to indicate t h at it has been deprecated''',
1950 'text': 'deprecated', 1953 'text': 'deprecated',
1951 } 1954 }
1952 }, 1955 },
1953 'placeholders': [], 1956 'placeholders': [],
1954 } 1957 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698