| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 # properties. | 48 # properties. |
| 49 'file://tough_animation_cases/balls_css_transition_2_properties.html', | 49 'file://tough_animation_cases/balls_css_transition_2_properties.html', |
| 50 # Why: Tests the balls animation implemented with CSS transitions on 40 | 50 # Why: Tests the balls animation implemented with CSS transitions on 40 |
| 51 # properties. | 51 # properties. |
| 52 'file://tough_animation_cases/balls_css_transition_40_properties.html', | 52 'file://tough_animation_cases/balls_css_transition_40_properties.html', |
| 53 # Why: Tests the balls animation implemented with CSS transitions on all | 53 # Why: Tests the balls animation implemented with CSS transitions on all |
| 54 # animatable properties. | 54 # animatable properties. |
| 55 'file://tough_animation_cases/balls_css_transition_all_properties.html', | 55 'file://tough_animation_cases/balls_css_transition_all_properties.html', |
| 56 # pylint: disable=C0301 | 56 # pylint: disable=C0301 |
| 57 'file://tough_animation_cases/overlay_background_color_css_transitions.htm
l', | 57 'file://tough_animation_cases/overlay_background_color_css_transitions.htm
l', |
| 58 |
| 58 # Why: Tests many CSS Transitions all starting at the same time triggered | 59 # Why: Tests many CSS Transitions all starting at the same time triggered |
| 59 # by inserting new elements. | 60 # by inserting new elements. |
| 60 # pylint: disable=C0301 | 61 # pylint: disable=C0301 |
| 61 'file://tough_animation_cases/css_transitions_simultaneous_by_inserting_ne
w_elements.html?N=0316', | 62 'file://tough_animation_cases/css_transitions_simultaneous_by_inserting_ne
w_element.html?N=0316', |
| 62 # Why: Tests many CSS Transitions all starting at the same time triggered | 63 # Why: Tests many CSS Transitions all starting at the same time triggered |
| 63 # by inserting style sheets. | 64 # by inserting style sheets. |
| 64 # pylint: disable=C0301 | 65 # pylint: disable=C0301 |
| 65 'file://tough_animation_cases/css_transitions_simultaneous_by_inserting_st
yle_element.html?N=0316', | 66 'file://tough_animation_cases/css_transitions_simultaneous_by_inserting_st
yle_element.html?N=0316', |
| 66 # Why: Tests many CSS Transitions all starting at the same time triggered | 67 # Why: Tests many CSS Transitions all starting at the same time triggered |
| 67 # by updating class. | 68 # by updating class. |
| 68 # pylint: disable=C0301 | 69 # pylint: disable=C0301 |
| 69 'file://tough_animation_cases/css_transitions_simultaneous_by_updating_cla
ss.html?N=0316', | 70 'file://tough_animation_cases/css_transitions_simultaneous_by_updating_cla
ss.html?N=0316', |
| 70 # Why: Tests many CSS Transitions all starting at the same time triggered | 71 # Why: Tests many CSS Transitions all starting at the same time triggered |
| 71 # by updating inline style. | 72 # by updating inline style. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 87 # different times triggered by updating inline style. | 88 # different times triggered by updating inline style. |
| 88 # pylint: disable=C0301 | 89 # pylint: disable=C0301 |
| 89 'file://tough_animation_cases/css_transitions_staggered_chaining_by_updati
ng_inline_style.html?N=0316', | 90 'file://tough_animation_cases/css_transitions_staggered_chaining_by_updati
ng_inline_style.html?N=0316', |
| 90 # Why: Tests many CSS Transitions starting at different times triggered by | 91 # Why: Tests many CSS Transitions starting at different times triggered by |
| 91 # inserting new elements. | 92 # inserting new elements. |
| 92 # pylint: disable=C0301 | 93 # pylint: disable=C0301 |
| 93 'file://tough_animation_cases/css_transitions_staggered_triggering_by_inse
rting_new_element.html?N=0316', | 94 'file://tough_animation_cases/css_transitions_staggered_triggering_by_inse
rting_new_element.html?N=0316', |
| 94 # Why: Tests many CSS Transitions starting at different times triggered by | 95 # Why: Tests many CSS Transitions starting at different times triggered by |
| 95 # inserting style sheets. | 96 # inserting style sheets. |
| 96 # pylint: disable=C0301 | 97 # pylint: disable=C0301 |
| 97 'file://tough_animation_cases/css_transitions_staggered_triggering_by_inse
rting_style.html?N=0316', | 98 'file://tough_animation_cases/css_transitions_staggered_triggering_by_inse
rting_style_element.html?N=0316', |
| 98 # Why: Tests many CSS Transitions starting at different times triggered by | 99 # Why: Tests many CSS Transitions starting at different times triggered by |
| 99 # updating class. | 100 # updating class. |
| 100 # pylint: disable=C0301 | 101 # pylint: disable=C0301 |
| 101 'file://tough_animation_cases/css_transitions_staggered_triggering_by_upda
ting_class.html?N=0316', | 102 'file://tough_animation_cases/css_transitions_staggered_triggering_by_upda
ting_class.html?N=0316', |
| 102 # Why: Tests many CSS Transitions starting at different times triggered by | 103 # Why: Tests many CSS Transitions starting at different times triggered by |
| 103 # updating inline style. | 104 # updating inline style. |
| 104 # pylint: disable=C0301 | 105 # pylint: disable=C0301 |
| 105 'file://tough_animation_cases/css_transitions_staggered_triggering_by_upda
ting_inline_style.html?N=0316', | 106 'file://tough_animation_cases/css_transitions_staggered_triggering_by_upda
ting_inline_style.html?N=0316', |
| 107 |
| 108 # Why: Tests many CSS Animations all starting at the same time with 500 |
| 109 # keyframes each. |
| 110 'file://tough_animation_cases/css_animations_many_keyframes.html?N=0316', |
| 111 # Why: Tests many CSS Animations all starting at the same time triggered |
| 112 # by inserting new elements. |
| 113 # pylint: disable=C0301 |
| 114 'file://tough_animation_cases/css_animations_simultaneous_by_inserting_new
_element.html?N=0316', |
| 115 # Why: Tests many CSS Animations all starting at the same time triggered |
| 116 # by inserting style sheets. |
| 117 # pylint: disable=C0301 |
| 118 'file://tough_animation_cases/css_animations_simultaneous_by_inserting_sty
le_element.html?N=0316', |
| 119 # Why: Tests many CSS Animations all starting at the same time triggered |
| 120 # by updating class. |
| 121 # pylint: disable=C0301 |
| 122 'file://tough_animation_cases/css_animations_simultaneous_by_updating_clas
s.html?N=0316', |
| 123 # Why: Tests many CSS Animations all starting at the same time triggered |
| 124 # by updating inline style. |
| 125 # pylint: disable=C0301 |
| 126 'file://tough_animation_cases/css_animations_simultaneous_by_updating_inli
ne_style.html?N=0316', |
| 127 # Why: Tests many CSS Animations chained together using events at |
| 128 # different times triggered by inserting new elements. |
| 129 # pylint: disable=C0301 |
| 130 'file://tough_animation_cases/css_animations_staggered_chaining_by_inserti
ng_new_element.html?N=0316', |
| 131 # Why: Tests many CSS Animations chained together using events at |
| 132 # different times triggered by inserting style sheets. |
| 133 # pylint: disable=C0301 |
| 134 'file://tough_animation_cases/css_animations_staggered_chaining_by_inserti
ng_style_element.html?N=0316', |
| 135 # Why: Tests many CSS Animations chained together using events at |
| 136 # different times triggered by updating class. |
| 137 # pylint: disable=C0301 |
| 138 'file://tough_animation_cases/css_animations_staggered_chaining_by_updatin
g_class.html?N=0316', |
| 139 # Why: Tests many CSS Animations chained together using events at |
| 140 # different times triggered by updating inline style. |
| 141 # pylint: disable=C0301 |
| 142 'file://tough_animation_cases/css_animations_staggered_chaining_by_updatin
g_inline_style.html?N=0316', |
| 143 # Why: Tests many CSS Animations starting at different times triggered by |
| 144 # inserting new elements. |
| 145 # pylint: disable=C0301 |
| 146 'file://tough_animation_cases/css_animations_staggered_triggering_by_inser
ting_new_element.html?N=0316', |
| 147 # Why: Tests many CSS Animations all starting at the same time with |
| 148 # staggered animation offsets. |
| 149 # pylint: disable=C0301 |
| 150 'file://tough_animation_cases/css_animations_staggered_infinite_iterations
.html?N=0316', |
| 151 # Why: Tests many CSS Animations starting at different times triggered by |
| 152 # inserting style sheets. |
| 153 # pylint: disable=C0301 |
| 154 'file://tough_animation_cases/css_animations_staggered_triggering_by_inser
ting_style_element.html?N=0316', |
| 155 # Why: Tests many CSS Animations starting at different times triggered by |
| 156 # updating class. |
| 157 # pylint: disable=C0301 |
| 158 'file://tough_animation_cases/css_animations_staggered_triggering_by_updat
ing_class.html?N=0316', |
| 159 # Why: Tests many CSS Animations starting at different times triggered by |
| 160 # updating inline style. |
| 161 # pylint: disable=C0301 |
| 162 'file://tough_animation_cases/css_animations_staggered_triggering_by_updat
ing_inline_style.html?N=0316', |
| 163 |
| 106 ] | 164 ] |
| 107 | 165 |
| 108 for url in urls_list_one: | 166 for url in urls_list_one: |
| 109 self.AddPage(ToughAnimationCasesPage(url, self, | 167 self.AddPage(ToughAnimationCasesPage(url, self, |
| 110 need_measurement_ready=True)) | 168 need_measurement_ready=True)) |
| 111 | 169 |
| 112 urls_list_two = [ | 170 urls_list_two = [ |
| 113 # Why: Tests various keyframed animations. | 171 # Why: Tests various keyframed animations. |
| 114 'file://tough_animation_cases/keyframed_animations.html', | 172 'file://tough_animation_cases/keyframed_animations.html', |
| 115 # Why: Tests various transitions. | 173 # Why: Tests various transitions. |
| 116 'file://tough_animation_cases/transform_transitions.html', | 174 'file://tough_animation_cases/transform_transitions.html', |
| 117 # Why: JS execution blocks CSS transition unless initial transform is set. | 175 # Why: JS execution blocks CSS transition unless initial transform is set. |
| 118 'file://tough_animation_cases/transform_transition_js_block.html' | 176 'file://tough_animation_cases/transform_transition_js_block.html' |
| 119 | 177 |
| 120 # Disabled: crbug.com/350692 | 178 # Disabled: crbug.com/350692 |
| 121 # Why: Login page is slow because of ineffecient transform operations. | 179 # Why: Login page is slow because of ineffecient transform operations. |
| 122 # 'http://ie.microsoft.com/testdrive/performance/robohornetpro/', | 180 # 'http://ie.microsoft.com/testdrive/performance/robohornetpro/', |
| 123 ] | 181 ] |
| 124 | 182 |
| 125 for url in urls_list_two: | 183 for url in urls_list_two: |
| 126 self.AddPage(ToughAnimationCasesPage(url, self, | 184 self.AddPage(ToughAnimationCasesPage(url, self, |
| 127 need_measurement_ready=False)) | 185 need_measurement_ready=False)) |
| OLD | NEW |