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

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

Issue 356833010: Delete all_page_actions, which is now empty. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 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
« no previous file with comments | « tools/perf/page_sets/top_10_mobile.py ('k') | tools/perf/page_sets/top_desktop_sites_2012Q3.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # pylint: disable=W0401,W0614
5 from telemetry.page.actions.all_page_actions import *
6 from telemetry.page import page as page_module 4 from telemetry.page import page as page_module
7 from telemetry.page import page_set as page_set_module 5 from telemetry.page import page_set as page_set_module
8 6
9 7
10 def _GetCurrentLocation(action_runner): 8 def _GetCurrentLocation(action_runner):
11 return action_runner.EvaluateJavaScript('document.location.href') 9 return action_runner.EvaluateJavaScript('document.location.href')
12 10
13 11
14 def _WaitForLocationChange(action_runner, old_href): 12 def _WaitForLocationChange(action_runner, old_href):
15 action_runner.WaitForJavaScriptCondition( 13 action_runner.WaitForJavaScriptCondition(
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 # Why: #1 Alexa reference 560 # Why: #1 Alexa reference
563 'http://answers.yahoo.com', 561 'http://answers.yahoo.com',
564 # Why: #1 Alexa sports 562 # Why: #1 Alexa sports
565 'http://sports.yahoo.com/', 563 'http://sports.yahoo.com/',
566 # Why: top tech blog 564 # Why: top tech blog
567 'http://techcrunch.com' 565 'http://techcrunch.com'
568 ] 566 ]
569 567
570 for url in other_urls: 568 for url in other_urls:
571 self.AddPage(Top25Page(url, self)) 569 self.AddPage(Top25Page(url, self))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/top_10_mobile.py ('k') | tools/perf/page_sets/top_desktop_sites_2012Q3.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698