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 | 4 |
5 import os | 5 import os |
6 | 6 |
7 from measurements import smoothness_controller | 7 from measurements import smoothness_controller |
8 from measurements import timeline_controller | 8 from measurements import timeline_controller |
9 from telemetry.core.platform import tracing_category_filter | 9 from telemetry.core.platform import tracing_category_filter |
10 from telemetry.core.platform import tracing_options | 10 from telemetry.core.platform import tracing_options |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 | 169 |
170 | 170 |
171 class OilpanGCTimesForInternals(_OilpanGCTimesBase): | 171 class OilpanGCTimesForInternals(_OilpanGCTimesBase): |
172 def __init__(self): | 172 def __init__(self): |
173 super(OilpanGCTimesForInternals, self).__init__() | 173 super(OilpanGCTimesForInternals, self).__init__() |
174 | 174 |
175 @classmethod | 175 @classmethod |
176 def CustomizeBrowserOptions(cls, options): | 176 def CustomizeBrowserOptions(cls, options): |
177 # 'expose-internals-for-testing' can be enabled on content shell. | 177 # 'expose-internals-for-testing' can be enabled on content shell. |
178 assert 'content-shell' in options.browser_type | 178 assert 'content-shell' in options.browser_type |
179 options.AppendExtraBrowserArgs('--expose-internals-for-testing') | 179 options.AppendExtraBrowserArgs(['--expose-internals-for-testing', |
| 180 '--js-flags=--expose-gc']) |
OLD | NEW |