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

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

Issue 7276009: Add content-security-policy directive to chrome://crashes page. (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/crashes_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 28 matching lines...) Expand all
39 }, 39 },
40 'chrome://blob-internals': { 40 'chrome://blob-internals': {
41 'title': 'Blob Storage Internals', 41 'title': 'Blob Storage Internals',
42 'CSP': False 42 'CSP': False
43 }, 43 },
44 'chrome://bugreport': { 44 'chrome://bugreport': {
45 'title': 'Whoops. Let\'s fix that.', 45 'title': 'Whoops. Let\'s fix that.',
46 'CSP': False 46 'CSP': False
47 }, 47 },
48 'chrome://chrome-urls': { 'title': 'Chrome URLs' }, 48 'chrome://chrome-urls': { 'title': 'Chrome URLs' },
49 'chrome://crashes': { 'title': 'Crashes', 'CSP': False }, 49 'chrome://crashes': { 'title': 'Crashes' },
50 'chrome://credits': { 'title': 'Credits', 'CSP': False }, 50 'chrome://credits': { 'title': 'Credits', 'CSP': False },
51 'chrome://downloads': { 'title': 'Downloads' }, 51 'chrome://downloads': { 'title': 'Downloads' },
52 'chrome://extensions': { 'title': 'Extensions', 'CSP': False }, 52 'chrome://extensions': { 'title': 'Extensions', 'CSP': False },
53 'chrome://flags': {}, 53 'chrome://flags': {},
54 'chrome://flash': {}, 54 'chrome://flash': {},
55 'chrome://gpu-internals': { 'CSP': False }, 55 'chrome://gpu-internals': { 'CSP': False },
56 'chrome://histograms': { 'title': 'About Histograms' }, 56 'chrome://histograms': { 'title': 'About Histograms' },
57 'chrome://history': { 'title': 'History' }, 57 'chrome://history': { 'title': 'History' },
58 'chrome://history2': { 'title': 'History', 'CSP': False }, 58 'chrome://history2': { 'title': 'History', 'CSP': False },
59 'chrome://media-internals': { 'title': 'Media Internals', 'CSP': False }, 59 'chrome://media-internals': { 'title': 'Media Internals', 'CSP': False },
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 def testSpecialAcceratorTabs(self): 234 def testSpecialAcceratorTabs(self):
235 """Test special tabs created by acclerators like IDC_SHOW_HISTORY, 235 """Test special tabs created by acclerators like IDC_SHOW_HISTORY,
236 IDC_SHOW_DOWNLOADS.""" 236 IDC_SHOW_DOWNLOADS."""
237 for accel, title in self.special_accelerator_tabs.iteritems(): 237 for accel, title in self.special_accelerator_tabs.iteritems():
238 self.RunCommand(accel) 238 self.RunCommand(accel)
239 self.assertEqual(title, self.GetActiveTabTitle()) 239 self.assertEqual(title, self.GetActiveTabTitle())
240 240
241 241
242 if __name__ == '__main__': 242 if __name__ == '__main__':
243 pyauto_functional.Main() 243 pyauto_functional.Main()
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/crashes_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698