Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3c43301db2bf6f5476d55d2429bace12b5913be2
https://github.com/WebKit/WebKit/commit/3c43301db2bf6f5476d55d2429bace12b5913be2
Author: Jer Noble <[email protected]>
Date: 2026-06-22 (Mon, 22 Jun 2026)
Changed paths:
A
LayoutTests/http/tests/media/track/text-track-cross-origin-in-band-expected.txt
A LayoutTests/http/tests/media/track/text-track-cross-origin-in-band.html
A
LayoutTests/http/tests/media/track/track-removal-clears-pending-list-expected.txt
A LayoutTests/http/tests/media/track/track-removal-clears-pending-list.html
A
LayoutTests/http/tests/media/track/tracks-ready-and-have-future-data-expected.txt
A LayoutTests/http/tests/media/track/tracks-ready-and-have-future-data.html
A LayoutTests/media/track/text-track-cue-mutation-expected.txt
A LayoutTests/media/track/text-track-cue-mutation.html
A LayoutTests/media/track/text-track-label-defaults-and-mode-expected.txt
A LayoutTests/media/track/text-track-label-defaults-and-mode.html
A LayoutTests/media/track/text-track-time-marches-on-edges-expected.txt
A LayoutTests/media/track/text-track-time-marches-on-edges.html
M LayoutTests/platform/glib/TestExpectations
M LayoutTests/platform/mac/TestExpectations
Log Message:
-----------
[HTML Tracks] Additional tests for untested areas of the HTML TextTrack
specification
rdar://180334501
https://bugs.webkit.org/show_bug.cgi?id=317607
Reviewed by Eric Carlson.
Add a third batch of TextTrack tests covering pending-list lifecycle,
cross-origin in-band exposure,
removeCue list-mutation semantics, default mode and label fallback, and
additional time-marches-on
edge cases.
track-removal-clears-pending-list.html records a FAIL baseline for a real spec
deviation tracked by
rdar://180330521: removing a loading <track> from its media element clears the
gating list entry
but does not re-evaluate readyState, so the video stays clamped at
HAVE_CURRENT_DATA until the
orphaned track's network fetch completes.
The cross-origin in-band test verifies that a media element exposes its in-band
text tracks only
when the media data is CORS-same-origin. The tracks-ready test verifies
HAVE_FUTURE_DATA gating
against a slow-served VTT (uses the existing load-and-stall.py infrastructure).
text-track-cue-mutation covers removeCue's NotFoundError throw path and
order-preserving list
mutation. text-track-label-defaults-and-mode covers the TextTrack.label getter
behavior including
the empty-label / auto-generated-UI-label distinction (spec-mandated to not be
exposed via the
API). text-track-time-marches-on-edges covers three algorithm-edge cases:
disabled-track cues never
participating, missed-cues only on monotonic advance, and idempotent re-runs
not duplicating
events.
*
LayoutTests/http/tests/media/track/text-track-cross-origin-in-band-expected.txt:
Added.
* LayoutTests/http/tests/media/track/text-track-cross-origin-in-band.html:
Added.
*
LayoutTests/http/tests/media/track/track-removal-clears-pending-list-expected.txt:
Added.
* LayoutTests/http/tests/media/track/track-removal-clears-pending-list.html:
Added.
*
LayoutTests/http/tests/media/track/tracks-ready-and-have-future-data-expected.txt:
Added.
* LayoutTests/http/tests/media/track/tracks-ready-and-have-future-data.html:
Added.
* LayoutTests/media/track/text-track-cue-mutation-expected.txt: Added.
* LayoutTests/media/track/text-track-cue-mutation.html: Added.
* LayoutTests/media/track/text-track-label-defaults-and-mode-expected.txt:
Added.
* LayoutTests/media/track/text-track-label-defaults-and-mode.html: Added.
* LayoutTests/media/track/text-track-time-marches-on-edges-expected.txt: Added.
* LayoutTests/media/track/text-track-time-marches-on-edges.html: Added.
Canonical link: https://commits.webkit.org/315659@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications