| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 | 4 |
| 5 import math | 5 import math |
| 6 import os | 6 import os |
| 7 | 7 |
| 8 from core import perf_benchmark | 8 from core import perf_benchmark |
| 9 | 9 |
| 10 from telemetry import benchmark | 10 from telemetry import benchmark |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 Tests setting and getting DOM node attributes using the jQuery JavaScript | 183 Tests setting and getting DOM node attributes using the jQuery JavaScript |
| 184 Library. | 184 Library. |
| 185 """ | 185 """ |
| 186 tag = 'jslibattrjquery' | 186 tag = 'jslibattrjquery' |
| 187 query_param = 'jslib-attr-jquery' | 187 query_param = 'jslib-attr-jquery' |
| 188 | 188 |
| 189 @classmethod | 189 @classmethod |
| 190 def Name(cls): | 190 def Name(cls): |
| 191 return 'dromaeo.jslibattrjquery' | 191 return 'dromaeo.jslibattrjquery' |
| 192 | 192 |
| 193 @classmethod |
| 194 def ShouldDisable(cls, possible_browser): |
| 195 # http://crbug.com/634055 (Android One). |
| 196 return cls.IsSvelte(possible_browser) |
| 197 |
| 193 | 198 |
| 194 class DromaeoJslibAttrPrototype(_DromaeoBenchmark): | 199 class DromaeoJslibAttrPrototype(_DromaeoBenchmark): |
| 195 """Dromaeo JSLib attr prototype JavaScript benchmark. | 200 """Dromaeo JSLib attr prototype JavaScript benchmark. |
| 196 | 201 |
| 197 Tests setting and getting DOM node attributes using the jQuery JavaScript | 202 Tests setting and getting DOM node attributes using the jQuery JavaScript |
| 198 Library. | 203 Library. |
| 199 """ | 204 """ |
| 200 tag = 'jslibattrprototype' | 205 tag = 'jslibattrprototype' |
| 201 query_param = 'jslib-attr-prototype' | 206 query_param = 'jslib-attr-prototype' |
| 202 | 207 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 """Dromaeo CSS Query jquery JavaScript benchmark. | 332 """Dromaeo CSS Query jquery JavaScript benchmark. |
| 328 | 333 |
| 329 Tests traversing a DOM structure using the Prototype JavaScript Library. | 334 Tests traversing a DOM structure using the Prototype JavaScript Library. |
| 330 """ | 335 """ |
| 331 tag = 'cssqueryjquery' | 336 tag = 'cssqueryjquery' |
| 332 query_param = 'cssquery-jquery' | 337 query_param = 'cssquery-jquery' |
| 333 | 338 |
| 334 @classmethod | 339 @classmethod |
| 335 def Name(cls): | 340 def Name(cls): |
| 336 return 'dromaeo.cssqueryjquery' | 341 return 'dromaeo.cssqueryjquery' |
| OLD | NEW |