# The docstring of benchmark classes may also be used as a description
# when 'run_benchmarks list' is run.
description = self.__doc__ or 'Dromaeo JavaScript Benchmark'
- page_set_dict = {
- 'description': description,
- 'pages': [{'url': url}],
- }
dromaeo_dir = os.path.join(util.GetChromiumSrcDir(),
'chrome', 'test', 'data', 'dromaeo')
- return page_set.PageSet.FromDict(page_set_dict, dromaeo_dir)
+ ps = page_set.PageSet(description=description,
+ file_path=dromaeo_dir)
+ ps.AddPageWithDefaultRunNavigate(url)
+ return ps
class DromaeoDomCoreAttr(_DromaeoBenchmark):
query_param = 'dom-attr'
+@test.Disabled('xp') # crbug.com/323782
class DromaeoDomCoreModify(_DromaeoBenchmark):
"""Dromaeo DOMCore modify JavaScript benchmark."""
tag = 'domcoremodify'