Closed Bug 1728271 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 30253 - [wave] Support calling window.gc() between tests in the wave runner

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox94 fixed)

RESOLVED FIXED
94 Branch
Tracking Status
firefox94 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 30253 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/30253
Details from upstream follow.

b'Roger Johannesson <rogerj@vewd.com>' wrote:

[wave] Support calling window.gc() between tests in the wave runner

This patch make the wave runner call window.gc() if the Chromium
commandline flag --js-flags="--expose-gc" is supplied.

Garbage collecting between test groups provides much more stable
test results when running tests in a single window. Especially on
slow machines where garbage collection might not kick in as
frequently.

Test result changes from PR not available.
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9d473b9bc1e3
[wpt PR 30253] - [wave] Support calling window.gc() between tests in the wave runner, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.