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

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

Issue 10699075: roll grit 54:55 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 | « DEPS ('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/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 'chrome://credits': { 'title': 'Credits' }, 46 'chrome://credits': { 'title': 'Credits' },
47 'chrome://downloads': { 'title': 'Downloads' }, 47 'chrome://downloads': { 'title': 'Downloads' },
48 'chrome://dns': { 'title': 'About DNS' }, 48 'chrome://dns': { 'title': 'About DNS' },
49 'chrome://extensions': { 'title': 'Extensions' }, 49 'chrome://extensions': { 'title': 'Extensions' },
50 'chrome://flags': {}, 50 'chrome://flags': {},
51 'chrome://flash': {}, 51 'chrome://flash': {},
52 'chrome://gpu-internals': {}, 52 'chrome://gpu-internals': {},
53 'chrome://histograms': { 'title': 'About Histograms' }, 53 'chrome://histograms': { 'title': 'About Histograms' },
54 'chrome://history': { 'title': 'History' }, 54 'chrome://history': { 'title': 'History' },
55 'chrome://media-internals': { 'title': 'Media Internals' }, 55 'chrome://media-internals': { 'title': 'Media Internals' },
56 # about:memory broken on win - crbug.com/134988 56 'chrome://memory-redirect': { 'title': 'About Memory' },
57 # 'chrome://memory-redirect': { 'title': 'About Memory' },
58 'chrome://net-internals': {}, 57 'chrome://net-internals': {},
59 'chrome://net-internals/help.html': {}, 58 'chrome://net-internals/help.html': {},
60 'chrome://newtab': { 'title': 'New Tab', 'CSP': False }, 59 'chrome://newtab': { 'title': 'New Tab', 'CSP': False },
61 'chrome://plugins': { 'title': 'Plug-ins' }, 60 'chrome://plugins': { 'title': 'Plug-ins' },
62 'chrome://settings': { 'title': 'Settings' }, 61 'chrome://settings': { 'title': 'Settings' },
63 'chrome://settings/autofill': { 'title': 'Settings - Autofill settings' }, 62 'chrome://settings/autofill': { 'title': 'Settings - Autofill settings' },
64 'chrome://settings/clearBrowserData': 63 'chrome://settings/clearBrowserData':
65 { 'title': 'Settings - Clear browsing data' }, 64 { 'title': 'Settings - Clear browsing data' },
66 'chrome://settings/content': { 'title': 'Settings - Content settings' }, 65 'chrome://settings/content': { 'title': 'Settings - Content settings' },
67 'chrome://settings/languages': 66 'chrome://settings/languages':
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 """Test special tabs created by accelerators.""" 317 """Test special tabs created by accelerators."""
319 for accel, title in self.GetSpecialAcceleratorTabs().iteritems(): 318 for accel, title in self.GetSpecialAcceleratorTabs().iteritems():
320 self.RunCommand(accel) 319 self.RunCommand(accel)
321 self.assertTrue(self.WaitUntil( 320 self.assertTrue(self.WaitUntil(
322 self.GetActiveTabTitle, expect_retval=title), 321 self.GetActiveTabTitle, expect_retval=title),
323 msg='Expected "%s", got "%s"' % (title, self.GetActiveTabTitle())) 322 msg='Expected "%s", got "%s"' % (title, self.GetActiveTabTitle()))
324 323
325 324
326 if __name__ == '__main__': 325 if __name__ == '__main__':
327 pyauto_functional.Main() 326 pyauto_functional.Main()
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698