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

Side by Side Diff: tools/perf/page_sets/pathological_mobile_sites.py

Issue 2941663002: Removing verify_names=True now that the default for verify_names is True (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « tools/perf/page_sets/partial_invalidation_cases.py ('k') | tools/perf/page_sets/polymer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 from telemetry.page import page as page_module 4 from telemetry.page import page as page_module
5 from telemetry.page import shared_page_state 5 from telemetry.page import shared_page_state
6 from telemetry import story 6 from telemetry import story
7 7
8 8
9 class PathologicalMobileSitesPage(page_module.Page): 9 class PathologicalMobileSitesPage(page_module.Page):
10 10
11 def __init__(self, url, page_set): 11 def __init__(self, url, page_set):
12 super(PathologicalMobileSitesPage, self).__init__( 12 super(PathologicalMobileSitesPage, self).__init__(
13 url=url, page_set=page_set, credentials_path='data/credentials.json', 13 url=url, page_set=page_set, credentials_path='data/credentials.json',
14 shared_page_state_class=shared_page_state.SharedMobilePageState, 14 shared_page_state_class=shared_page_state.SharedMobilePageState,
15 name=url) 15 name=url)
16 16
17 def RunPageInteractions(self, action_runner): 17 def RunPageInteractions(self, action_runner):
18 with action_runner.CreateGestureInteraction('ScrollAction'): 18 with action_runner.CreateGestureInteraction('ScrollAction'):
19 action_runner.ScrollPage() 19 action_runner.ScrollPage()
20 20
21 21
22 class PathologicalMobileSitesPageSet(story.StorySet): 22 class PathologicalMobileSitesPageSet(story.StorySet):
23 23
24 """Pathologically bad and janky sites on mobile.""" 24 """Pathologically bad and janky sites on mobile."""
25 25
26 def __init__(self): 26 def __init__(self):
27 super(PathologicalMobileSitesPageSet, self).__init__( 27 super(PathologicalMobileSitesPageSet, self).__init__(
28 archive_data_file='data/pathological_mobile_sites.json', 28 archive_data_file='data/pathological_mobile_sites.json',
29 cloud_storage_bucket=story.PARTNER_BUCKET, 29 cloud_storage_bucket=story.PARTNER_BUCKET)
30 verify_names=True)
31 30
32 sites = ['http://edition.cnn.com', 31 sites = ['http://edition.cnn.com',
33 'http://m.espn.go.com/nhl/rankings', 32 'http://m.espn.go.com/nhl/rankings',
34 'http://recode.net', 33 'http://recode.net',
35 'http://sports.yahoo.com/', 34 'http://sports.yahoo.com/',
36 'http://www.latimes.com', 35 'http://www.latimes.com',
37 ('http://www.pbs.org/newshour/bb/' 36 ('http://www.pbs.org/newshour/bb/'
38 'much-really-cost-live-city-like-seattle/#the-rundown'), 37 'much-really-cost-live-city-like-seattle/#the-rundown'),
39 ('http://www.theguardian.com/politics/2015/mar/09/' 38 ('http://www.theguardian.com/politics/2015/mar/09/'
40 'ed-balls-tory-spending-plans-nhs-charging'), 39 'ed-balls-tory-spending-plans-nhs-charging'),
41 'http://www.zdnet.com', 40 'http://www.zdnet.com',
42 'http://www.wowwiki.com/World_of_Warcraft:_Mists_of_Pandaria', 41 'http://www.wowwiki.com/World_of_Warcraft:_Mists_of_Pandaria',
43 'https://www.linkedin.com/in/linustorvalds'] 42 'https://www.linkedin.com/in/linustorvalds']
44 43
45 for site in sites: 44 for site in sites:
46 self.AddStory(PathologicalMobileSitesPage(site, self)) 45 self.AddStory(PathologicalMobileSitesPage(site, self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/partial_invalidation_cases.py ('k') | tools/perf/page_sets/polymer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698