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

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

Issue 7638002: Apply content-security-policy directive to chrome://media-internals (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/media/media_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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 'chrome://credits': { 'title': 'Credits', 'CSP': False }, 43 'chrome://credits': { 'title': 'Credits', 'CSP': False },
44 'chrome://downloads': { 'title': 'Downloads' }, 44 'chrome://downloads': { 'title': 'Downloads' },
45 'chrome://dns': { 'title': 'About DNS' }, 45 'chrome://dns': { 'title': 'About DNS' },
46 'chrome://extensions': { 'title': 'Extensions' }, 46 'chrome://extensions': { 'title': 'Extensions' },
47 'chrome://flags': {}, 47 'chrome://flags': {},
48 'chrome://flash': {}, 48 'chrome://flash': {},
49 'chrome://gpu-internals': {}, 49 'chrome://gpu-internals': {},
50 'chrome://histograms': { 'title': 'About Histograms' }, 50 'chrome://histograms': { 'title': 'About Histograms' },
51 'chrome://history': { 'title': 'History' }, 51 'chrome://history': { 'title': 'History' },
52 'chrome://history2': { 'title': 'History' }, 52 'chrome://history2': { 'title': 'History' },
53 'chrome://media-internals': { 'title': 'Media Internals', 'CSP': False }, 53 'chrome://media-internals': { 'title': 'Media Internals' },
54 'chrome://memory-redirect': { 'title': 'About Memory' }, 54 'chrome://memory-redirect': { 'title': 'About Memory' },
55 'chrome://net-internals': {}, 55 'chrome://net-internals': {},
56 'chrome://net-internals/help.html': {}, 56 'chrome://net-internals/help.html': {},
57 'chrome://newtab': { 'title': 'New Tab', 'CSP': False }, 57 'chrome://newtab': { 'title': 'New Tab', 'CSP': False },
58 'chrome://plugins': { 'title': 'Plug-ins' }, 58 'chrome://plugins': { 'title': 'Plug-ins' },
59 'chrome://sessions': { 'title': 'Sessions' }, 59 'chrome://sessions': { 'title': 'Sessions' },
60 'chrome://settings': { 'title': 'Preferences - Basics' }, 60 'chrome://settings': { 'title': 'Preferences - Basics' },
61 'chrome://stats': { 'CSP': False }, 61 'chrome://stats': { 'CSP': False },
62 'chrome://sync': { 'title': 'Sync Internals' }, 62 'chrome://sync': { 'title': 'Sync Internals' },
63 'chrome://sync-internals': { 'title': 'Sync Internals' }, 63 'chrome://sync-internals': { 'title': 'Sync Internals' },
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 def testSpecialAcceratorTabs(self): 301 def testSpecialAcceratorTabs(self):
302 """Test special tabs created by acclerators like IDC_SHOW_HISTORY, 302 """Test special tabs created by acclerators like IDC_SHOW_HISTORY,
303 IDC_SHOW_DOWNLOADS.""" 303 IDC_SHOW_DOWNLOADS."""
304 for accel, title in self.special_accelerator_tabs.iteritems(): 304 for accel, title in self.special_accelerator_tabs.iteritems():
305 self.RunCommand(accel) 305 self.RunCommand(accel)
306 self.assertEqual(title, self.GetActiveTabTitle()) 306 self.assertEqual(title, self.GetActiveTabTitle())
307 307
308 308
309 if __name__ == '__main__': 309 if __name__ == '__main__':
310 pyauto_functional.Main() 310 pyauto_functional.Main()
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/media/media_internals_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698