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

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

Issue 7714007: Apply content-security-policy directive to chrome://workers page. (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
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
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' },
64 'chrome://tasks': { 'title': 'Task Manager - Chromium' }, 64 'chrome://tasks': { 'title': 'Task Manager - Chromium' },
65 'chrome://terms': { 'CSP': False }, 65 'chrome://terms': { 'CSP': False },
66 'chrome://textfields': { 'title': 'chrome://textfields', 'CSP': False }, 66 'chrome://textfields': { 'title': 'chrome://textfields', 'CSP': False },
67 'chrome://version': { 'title': 'About Version' }, 67 'chrome://version': { 'title': 'About Version' },
68 'chrome://view-http-cache': {}, 68 'chrome://view-http-cache': {},
69 'chrome://workers': { 'title': 'Workers', 'CSP': False }, 69 'chrome://workers': { 'title': 'Workers' },
70 } 70 }
71 broken_special_url_tabs = { 71 broken_special_url_tabs = {
72 # crashed under debug when invoked from location bar (bug 88223). 72 # crashed under debug when invoked from location bar (bug 88223).
73 'chrome://devtools': { 'CSP': False }, 73 'chrome://devtools': { 'CSP': False },
74 74
75 # returns "not available" despite having an URL constant. 75 # returns "not available" despite having an URL constant.
76 'chrome://dialog': { 'CSP': False }, 76 'chrome://dialog': { 'CSP': False },
77 77
78 # separate window on mac, PC untested, not implemented elsewhere. 78 # separate window on mac, PC untested, not implemented elsewhere.
79 'chrome://ipc': { 'CSP': False }, 79 'chrome://ipc': { 'CSP': False },
(...skipping 229 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
« chrome/browser/ui/webui/chrome_web_ui_data_source.cc ('K') | « chrome/browser/ui/webui/workers_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698