Commit aa5cd166 authored by peria's avatar peria Committed by Commit bot

Add --js-flags=--expose-gc flag in OilpanGCTimes test.

It enables renderers without DumpRenderTree to trigger Blink GCs.

BUG=438074, 420515

Review URL: https://codereview.chromium.org/964283002

Cr-Commit-Position: refs/heads/master@{#318888}
parent cb20a495
...@@ -176,4 +176,5 @@ class OilpanGCTimesForInternals(_OilpanGCTimesBase): ...@@ -176,4 +176,5 @@ class OilpanGCTimesForInternals(_OilpanGCTimesBase):
def CustomizeBrowserOptions(cls, options): def CustomizeBrowserOptions(cls, options):
# 'expose-internals-for-testing' can be enabled on content shell. # 'expose-internals-for-testing' can be enabled on content shell.
assert 'content-shell' in options.browser_type assert 'content-shell' in options.browser_type
options.AppendExtraBrowserArgs('--expose-internals-for-testing') options.AppendExtraBrowserArgs(['--expose-internals-for-testing',
'--js-flags=--expose-gc'])
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment