Closed Bug 1839185 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 40622 - Adjust track vs. video loading in track-remove-insert-ready-state.html

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Fredrik Söderquist <fs@opera.com> wrote:

Adjust track vs. video loading in track-remove-insert-ready-state.html

When the test was upstreamed to WPT in
d86c4f8fdaaf4da023fc71172e20508f2ffd31ec, the \<script> element that
starts the load for the video resource was moved to be a child of the
\<video> element. This means that the load of the \<track> element will
start when the \<video> elements end tag is encountered, while the load
of the video resource starts a bit earlier. Thus if the video resource
some completes loading (enough) before the \<video> element is closed by
the parser, the \<track> element may not have been selected and set to
'showing' yet. This can lead to flakiness.

Restore the location of the \<script> that defines the async_test() to
that which it had before the export.

Bug: 1453552
Change-Id: I02efc27e36ca288754d0854aee14637415baea6b
Reviewed-on: https://chromium-review.googlesource.com/4624051
WPT-Export-Revision: db101a428a7ee8e8bfe87f0668db5e31212ce3a2

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/85aacc1c6e10 [wpt PR 40622] - Adjust track vs. video loading in track-remove-insert-ready-state.html, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.