OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import story | 5 from telemetry import story |
6 | 6 |
7 | 7 |
8 class V8Top25(page_module.Page): | 8 class V8Top25(page_module.Page): |
9 | 9 |
10 def __init__(self, url, page_set, name=''): | 10 def __init__(self, url, page_set, name=''): |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 | 61 |
62 class V8Top25StorySet(story.StorySet): | 62 class V8Top25StorySet(story.StorySet): |
63 """~25 of top pages, used for v8 testing. They represent popular websites as | 63 """~25 of top pages, used for v8 testing. They represent popular websites as |
64 well as other pages the V8 team wants to track due to their unique | 64 well as other pages the V8 team wants to track due to their unique |
65 characteristics.""" | 65 characteristics.""" |
66 | 66 |
67 def __init__(self): | 67 def __init__(self): |
68 super(V8Top25StorySet, self).__init__( | 68 super(V8Top25StorySet, self).__init__( |
69 archive_data_file='data/v8_top_25.json', | 69 archive_data_file='data/v8_top_25.json', |
70 cloud_storage_bucket=story.INTERNAL_BUCKET) | 70 cloud_storage_bucket=story.INTERNAL_BUCKET, |
| 71 verify_names=True) |
71 | 72 |
72 for url in urls_list: | 73 for url in urls_list: |
73 self.AddStory(V8Top25(url, self)) | 74 self.AddStory(V8Top25(url, self, url)) |
OLD | NEW |