| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 os | 5 import os |
| 6 | 6 |
| 7 from telemetry import test | 7 from telemetry import test |
| 8 from telemetry.core import util | 8 from telemetry.core import util |
| 9 | 9 |
| 10 from measurements import blink_perf | 10 from measurements import blink_perf |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 test = blink_perf.BlinkPerf | 24 test = blink_perf.BlinkPerf |
| 25 | 25 |
| 26 def CreatePageSet(self, options): | 26 def CreatePageSet(self, options): |
| 27 path = os.path.join(util.GetChromiumSrcDir(), | 27 path = os.path.join(util.GetChromiumSrcDir(), |
| 28 'third_party', 'WebKit', 'PerformanceTests', 'Animation') | 28 'third_party', 'WebKit', 'PerformanceTests', 'Animation') |
| 29 return blink_perf.CreatePageSetFromPath(path) | 29 return blink_perf.CreatePageSetFromPath(path) |
| 30 | 30 |
| 31 class BlinkPerfWebAnimations(test.Test): | 31 class BlinkPerfWebAnimations(test.Test): |
| 32 tag = 'web_animations' | 32 tag = 'web_animations' |
| 33 test = blink_perf.BlinkPerf | 33 test = blink_perf.BlinkPerf |
| 34 enabled = False |
| 34 | 35 |
| 35 def CreatePageSet(self, options): | 36 def CreatePageSet(self, options): |
| 36 path = os.path.join(util.GetChromiumSrcDir(), | 37 path = os.path.join(util.GetChromiumSrcDir(), |
| 37 'third_party', 'WebKit', 'PerformanceTests', 'Animation') | 38 'third_party', 'WebKit', 'PerformanceTests', 'Animation') |
| 38 return blink_perf.CreatePageSetFromPath(path) | 39 return blink_perf.CreatePageSetFromPath(path) |
| 39 | 40 |
| 40 def CustomizeBrowserOptions(self, options): | 41 def CustomizeBrowserOptions(self, options): |
| 41 options.AppendExtraBrowserArgs('--enable-web-animations-css') | 42 options.AppendExtraBrowserArgs('--enable-web-animations-css') |
| OLD | NEW |