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

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

Issue 7411004: Apply content-security-policy to chrome://gpu-internals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/webui/gpu_internals_ui.cc ('k') | no next file » | 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/python 1 #!/usr/bin/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 import logging 6 import logging
7 import os 7 import os
8 8
9 import pyauto_functional # Must be imported before pyauto 9 import pyauto_functional # Must be imported before pyauto
10 import pyauto 10 import pyauto
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 'CSP': False 47 'CSP': False
48 }, 48 },
49 'chrome://chrome-urls': { 'title': 'Chrome URLs' }, 49 'chrome://chrome-urls': { 'title': 'Chrome URLs' },
50 'chrome://crashes': { 'title': 'Crashes' }, 50 'chrome://crashes': { 'title': 'Crashes' },
51 'chrome://credits': { 'title': 'Credits', 'CSP': False }, 51 'chrome://credits': { 'title': 'Credits', 'CSP': False },
52 'chrome://downloads': { 'title': 'Downloads' }, 52 'chrome://downloads': { 'title': 'Downloads' },
53 'chrome://dns': { 'title': 'About DNS' }, 53 'chrome://dns': { 'title': 'About DNS' },
54 'chrome://extensions': { 'title': 'Extensions' }, 54 'chrome://extensions': { 'title': 'Extensions' },
55 'chrome://flags': {}, 55 'chrome://flags': {},
56 'chrome://flash': {}, 56 'chrome://flash': {},
57 'chrome://gpu-internals': { 'CSP': False }, 57 'chrome://gpu-internals': {},
58 'chrome://histograms': { 'title': 'About Histograms' }, 58 'chrome://histograms': { 'title': 'About Histograms' },
59 'chrome://history': { 'title': 'History' }, 59 'chrome://history': { 'title': 'History' },
60 'chrome://history2': { 'title': 'History', 'CSP': False }, 60 'chrome://history2': { 'title': 'History', 'CSP': False },
61 'chrome://media-internals': { 'title': 'Media Internals', 'CSP': False }, 61 'chrome://media-internals': { 'title': 'Media Internals', 'CSP': False },
62 'chrome://memory-redirect': { 'title': 'About Memory' }, 62 'chrome://memory-redirect': { 'title': 'About Memory' },
63 'chrome://net-internals': { 'CSP': False }, 63 'chrome://net-internals': { 'CSP': False },
64 'chrome://newtab': { 'title': 'New Tab', 'CSP': False }, 64 'chrome://newtab': { 'title': 'New Tab', 'CSP': False },
65 'chrome://plugins': { 'title': 'Plug-ins' }, 65 'chrome://plugins': { 'title': 'Plug-ins' },
66 'chrome://sessions': { 'title': 'Sessions', 'CSP': False }, 66 'chrome://sessions': { 'title': 'Sessions', 'CSP': False },
67 'chrome://settings': { 'title': 'Preferences - Basics' }, 67 'chrome://settings': { 'title': 'Preferences - Basics' },
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 def testSpecialAcceratorTabs(self): 309 def testSpecialAcceratorTabs(self):
310 """Test special tabs created by acclerators like IDC_SHOW_HISTORY, 310 """Test special tabs created by acclerators like IDC_SHOW_HISTORY,
311 IDC_SHOW_DOWNLOADS.""" 311 IDC_SHOW_DOWNLOADS."""
312 for accel, title in self.special_accelerator_tabs.iteritems(): 312 for accel, title in self.special_accelerator_tabs.iteritems():
313 self.RunCommand(accel) 313 self.RunCommand(accel)
314 self.assertEqual(title, self.GetActiveTabTitle()) 314 self.assertEqual(title, self.GetActiveTabTitle())
315 315
316 316
317 if __name__ == '__main__': 317 if __name__ == '__main__':
318 pyauto_functional.Main() 318 pyauto_functional.Main()
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/gpu_internals_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698