| 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 json | 5 import json |
| 6 import math | 6 import math |
| 7 import os | 7 import os |
| 8 | 8 |
| 9 from core import perf_benchmark | 9 from core import perf_benchmark |
| 10 | 10 |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 Tests setting and getting DOM node attributes using the jQuery JavaScript | 198 Tests setting and getting DOM node attributes using the jQuery JavaScript |
| 199 Library. | 199 Library. |
| 200 """ | 200 """ |
| 201 tag = 'jslibattrjquery' | 201 tag = 'jslibattrjquery' |
| 202 query_param = 'jslib-attr-jquery' | 202 query_param = 'jslib-attr-jquery' |
| 203 | 203 |
| 204 @classmethod | 204 @classmethod |
| 205 def Name(cls): | 205 def Name(cls): |
| 206 return 'dromaeo.jslibattrjquery' | 206 return 'dromaeo.jslibattrjquery' |
| 207 | 207 |
| 208 @classmethod | |
| 209 def ShouldDisable(cls, possible_browser): | |
| 210 # http://crbug.com/634055 (Android One). | |
| 211 return cls.IsSvelte(possible_browser) | |
| 212 | 208 |
| 213 @benchmark.Owner(emails=['yukishiino@chromium.org', | 209 @benchmark.Owner(emails=['yukishiino@chromium.org', |
| 214 'bashi@chromium.org', | 210 'bashi@chromium.org', |
| 215 'haraken@chromium.org']) | 211 'haraken@chromium.org']) |
| 216 class DromaeoJslibAttrPrototype(_DromaeoBenchmark): | 212 class DromaeoJslibAttrPrototype(_DromaeoBenchmark): |
| 217 """Dromaeo JSLib attr prototype JavaScript benchmark. | 213 """Dromaeo JSLib attr prototype JavaScript benchmark. |
| 218 | 214 |
| 219 Tests setting and getting DOM node attributes using the jQuery JavaScript | 215 Tests setting and getting DOM node attributes using the jQuery JavaScript |
| 220 Library. | 216 Library. |
| 221 """ | 217 """ |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 """Dromaeo CSS Query jquery JavaScript benchmark. | 370 """Dromaeo CSS Query jquery JavaScript benchmark. |
| 375 | 371 |
| 376 Tests traversing a DOM structure using the Prototype JavaScript Library. | 372 Tests traversing a DOM structure using the Prototype JavaScript Library. |
| 377 """ | 373 """ |
| 378 tag = 'cssqueryjquery' | 374 tag = 'cssqueryjquery' |
| 379 query_param = 'cssquery-jquery' | 375 query_param = 'cssquery-jquery' |
| 380 | 376 |
| 381 @classmethod | 377 @classmethod |
| 382 def Name(cls): | 378 def Name(cls): |
| 383 return 'dromaeo.cssqueryjquery' | 379 return 'dromaeo.cssqueryjquery' |
| OLD | NEW |