[wpt-sync] Sync PR 27319 - [testharness.js] Respect properties.output in assert_wrapper
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(Not tracked)
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27319 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27319
Details from upstream follow.
b'Stephen McGruer <smcgruer@chromium.org>' wrote:
[testharness.js] Respect properties.output in assert_wrapper
The method was using
settings.outputto determine if visual output was
enabled. It then performed an expensive operation only if it was.
However,settings.outputis not updated even if 'output' is
specified in a call tosetup(..)from the testharnessreport.js, as the
'settings' object is meant to outlive different setups (it seems).This change adds an
outputmember to the Tests object, which is
initialized fromsettings.outputand then updated bysetup(..). We
may want a slightly different fix long-term, but this bug is suspected
of causing a 33% performance regression on Chromium MSAN bots, so we
need something quick!
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
Description
•