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

Side by Side Diff: chrome/test/functional/policy_prefs_ui.py

Issue 8772014: Add a preference for enabling the TLS origin-bound certificates extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Change policy_templates.json as mnissler suggested Created 9 years 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
« no previous file with comments | « chrome/test/data/enterprise/chrome-reverse.json ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # If this test is failing, please check these steps. 6 # If this test is failing, please check these steps.
7 # 7 #
8 # - You introduced a new policy: 8 # - You introduced a new policy:
9 # Cool! Edit |policies| below and add an entry for it. See the comment above 9 # Cool! Edit |policies| below and add an entry for it. See the comment above
10 # it for the format. 10 # it for the format.
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 [ 'win', 'mac', 'linux' ]), 112 [ 'win', 'mac', 'linux' ]),
113 'ClearSiteDataOnExit': (True, [ CONTENT ]), 113 'ClearSiteDataOnExit': (True, [ CONTENT ]),
114 # TODO(joaodasilva): Should be ADVANCED. http://crbug.com/97749 114 # TODO(joaodasilva): Should be ADVANCED. http://crbug.com/97749
115 'ProxyMode': ('direct', [], [ 'win', 'mac', 'linux' ]), 115 'ProxyMode': ('direct', [], [ 'win', 'mac', 'linux' ]),
116 # TODO(joaodasilva): Should be ADVANCED. http://crbug.com/97749 116 # TODO(joaodasilva): Should be ADVANCED. http://crbug.com/97749
117 'ProxyServerMode': (0, [], [ 'win', 'mac', 'linux' ]), 117 'ProxyServerMode': (0, [], [ 'win', 'mac', 'linux' ]),
118 'ProxyServer': ('http://localhost:8080', [], [ 'win', 'mac', 'linux' ]), 118 'ProxyServer': ('http://localhost:8080', [], [ 'win', 'mac', 'linux' ]),
119 'ProxyPacUrl': ('http://localhost:8080/proxy.pac', [], 119 'ProxyPacUrl': ('http://localhost:8080/proxy.pac', [],
120 [ 'win', 'mac', 'linux' ]), 120 [ 'win', 'mac', 'linux' ]),
121 'ProxyBypassList': ('localhost', [], [ 'win', 'mac', 'linux' ]), 121 'ProxyBypassList': ('localhost', [], [ 'win', 'mac', 'linux' ]),
122 'EnableOriginBoundCerts': (False, []),
122 'AuthSchemes': ('AuthSchemes', []), 123 'AuthSchemes': ('AuthSchemes', []),
123 'DisableAuthNegotiateCnameLookup': (True, []), 124 'DisableAuthNegotiateCnameLookup': (True, []),
124 'EnableAuthNegotiatePort': (False, []), 125 'EnableAuthNegotiatePort': (False, []),
125 'AuthServerWhitelist': ('localhost', []), 126 'AuthServerWhitelist': ('localhost', []),
126 'AuthNegotiateDelegateWhitelist': ('localhost', []), 127 'AuthNegotiateDelegateWhitelist': ('localhost', []),
127 'GSSAPILibraryName': ('libwhatever.so', [], [ 'mac', 'linux' ]), 128 'GSSAPILibraryName': ('libwhatever.so', [], [ 'mac', 'linux' ]),
128 'AllowCrossOriginAuthPrompt': (False, [], [ 'win', 'mac', 'linux' ]), 129 'AllowCrossOriginAuthPrompt': (False, [], [ 'win', 'mac', 'linux' ]),
129 'ExtensionInstallBlacklist': ( ['*'], []), 130 'ExtensionInstallBlacklist': ( ['*'], []),
130 'ExtensionInstallWhitelist': ( ['lcncmkcnkcdbbanbjakcencbaoegdjlp' ], []), 131 'ExtensionInstallWhitelist': ( ['lcncmkcnkcdbbanbjakcencbaoegdjlp' ], []),
131 'ExtensionInstallForcelist': ( 132 'ExtensionInstallForcelist': (
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 331
331 self.SetPolicies(policy_dict) 332 self.SetPolicies(policy_dict)
332 self.assertTrue(self.IsBannerVisible()) 333 self.assertTrue(self.IsBannerVisible())
333 334
334 self.SetPolicies({}) 335 self.SetPolicies({})
335 self.assertFalse(self.IsBannerVisible()) 336 self.assertFalse(self.IsBannerVisible())
336 337
337 338
338 if __name__ == '__main__': 339 if __name__ == '__main__':
339 pyauto_functional.Main() 340 pyauto_functional.Main()
OLDNEW
« no previous file with comments | « chrome/test/data/enterprise/chrome-reverse.json ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698