[wpt-sync] Sync PR 45002 - Build summary table without innerHTML
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox127 fixed)
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 45002 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/45002
Details from upstream follow.
Daniel Vogelheim <vogelheim@chromium.org> wrote:
Build summary table without innerHTML
The summary table is currently built up as a (potentially rather long) text string and then passed to
innerHTML
. Let's instead use DOM methods to build it up.This fixes the issue in https://github.com/web-platform-tests/wpt/issues/44352. It might also improve readability.
Results generation was measured for the test with the largest result table (html/dom/reflection-text.text), which was around 800ms. The comment warning about "tens of seconds of execution time" from textContent calls alone seems to no longer be accurate.
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 4•1 year ago
|
||
Comment 5•1 year ago
|
||
bugherder |
Description
•