Closed Bug 1891213 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 45002 - Build summary table without innerHTML

Categories

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

task

Tracking

(firefox127 fixed)

RESOLVED FIXED
127 Branch
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.

The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cb3f80b0a295 [wpt PR 45002] - Build summary table without innerHTML, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.