OLD | NEW |
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 from telemetry.page import page as page_module | 4 from telemetry.page import page as page_module |
5 from telemetry.page import page_set as page_set_module | 5 from telemetry.page import page_set as page_set_module |
6 | 6 |
7 | 7 |
8 class KeyMobileSitesPage(page_module.Page): | 8 class KeyMobileSitesPage(page_module.Page): |
9 | 9 |
10 def __init__(self, url, page_set, name=''): | 10 def __init__(self, url, page_set, name=''): |
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 # Why: Mobile wiki | 531 # Why: Mobile wiki |
532 'http://www.wowwiki.com/World_of_Warcraft:_Mists_of_Pandaria', | 532 'http://www.wowwiki.com/World_of_Warcraft:_Mists_of_Pandaria', |
533 # Why: #15 Alexa news | 533 # Why: #15 Alexa news |
534 'http://online.wsj.com/home-page', | 534 'http://online.wsj.com/home-page', |
535 # Why: Image-heavy mobile site | 535 # Why: Image-heavy mobile site |
536 'http://www.deviantart.com/', | 536 'http://www.deviantart.com/', |
537 # Why: Top search engine | 537 # Why: Top search engine |
538 ('http://www.baidu.com/s?wd=barack+obama&rsv_bp=0&rsv_spt=3&rsv_sug3=9&' | 538 ('http://www.baidu.com/s?wd=barack+obama&rsv_bp=0&rsv_spt=3&rsv_sug3=9&' |
539 'rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920'), | 539 'rsv_sug=0&rsv_sug4=3824&rsv_sug1=3&inputT=4920'), |
540 # Why: Top search engine | 540 # Why: Top search engine |
541 'http://www.bing.com/search?q=sloths' | 541 'http://www.bing.com/search?q=sloths', |
| 542 # Why: Good example of poor initial scrolling |
| 543 'http://www.latimes.com', |
| 544 # Why: Good example of poor initial scrolling |
| 545 'http://ftw.usatoday.com/2014/05/spelling-bee-rules-shenanigans', |
| 546 # Why: Good example of poor initial scrolling |
| 547 'http://m.espn.go.com/nhl/rankings' |
542 ] | 548 ] |
543 | 549 |
544 for url in urls_list: | 550 for url in urls_list: |
545 self.AddPage(KeyMobileSitesPage(url, self)) | 551 self.AddPage(KeyMobileSitesPage(url, self)) |
OLD | NEW |