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 ToughAnimationCasesPage(page_module.Page): | 8 class ToughAnimationCasesPage(page_module.Page): |
9 | 9 |
10 def __init__(self, url, page_set, need_measurement_ready): | 10 def __init__(self, url, page_set, need_measurement_ready): |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 # Why: Tests many Web Animations all starting at different times with | 177 # Why: Tests many Web Animations all starting at different times with |
178 # infinite iterations. | 178 # infinite iterations. |
179 # pylint: disable=C0301 | 179 # pylint: disable=C0301 |
180 'file://tough_animation_cases/web_animations_staggered_infinite_iterations
.html?N=0316', | 180 'file://tough_animation_cases/web_animations_staggered_infinite_iterations
.html?N=0316', |
181 # Why: Tests many Web Animations all starting at different times. | 181 # Why: Tests many Web Animations all starting at different times. |
182 # pylint: disable=C0301 | 182 # pylint: disable=C0301 |
183 'file://tough_animation_cases/web_animations_staggered_triggering.html?N=0
316', | 183 'file://tough_animation_cases/web_animations_staggered_triggering.html?N=0
316', |
184 ] | 184 ] |
185 | 185 |
186 for url in urls_list_one: | 186 for url in urls_list_one: |
187 self.AddPage(ToughAnimationCasesPage(url, self, | 187 self.AddUserStory(ToughAnimationCasesPage(url, self, |
188 need_measurement_ready=True)) | 188 need_measurement_ready=True)) |
189 | 189 |
190 urls_list_two = [ | 190 urls_list_two = [ |
191 # Why: Tests various keyframed animations. | 191 # Why: Tests various keyframed animations. |
192 'file://tough_animation_cases/keyframed_animations.html', | 192 'file://tough_animation_cases/keyframed_animations.html', |
193 # Why: Tests various transitions. | 193 # Why: Tests various transitions. |
194 'file://tough_animation_cases/transform_transitions.html', | 194 'file://tough_animation_cases/transform_transitions.html', |
195 # Why: JS execution blocks CSS transition unless initial transform is set. | 195 # Why: JS execution blocks CSS transition unless initial transform is set. |
196 'file://tough_animation_cases/transform_transition_js_block.html' | 196 'file://tough_animation_cases/transform_transition_js_block.html' |
197 | 197 |
198 # Disabled: crbug.com/350692 | 198 # Disabled: crbug.com/350692 |
199 # Why: Login page is slow because of ineffecient transform operations. | 199 # Why: Login page is slow because of ineffecient transform operations. |
200 # 'http://ie.microsoft.com/testdrive/performance/robohornetpro/', | 200 # 'http://ie.microsoft.com/testdrive/performance/robohornetpro/', |
201 ] | 201 ] |
202 | 202 |
203 for url in urls_list_two: | 203 for url in urls_list_two: |
204 self.AddPage(ToughAnimationCasesPage(url, self, | 204 self.AddUserStory(ToughAnimationCasesPage(url, self, |
205 need_measurement_ready=False)) | 205 need_measurement_ready=False)) |
OLD | NEW |