WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
262474
TextTrackCue property mutation affect cue ordering
https://bugs.webkit.org/show_bug.cgi?id=262474
Summary
TextTrackCue property mutation affect cue ordering
Kueno
Reported
2023-10-02 00:22:01 PDT
The ordering of the cues in TextTrack is defined as follows:
> ... cues must be sorted by their start time, earliest first; then, any cues with the same start time must be sorted by their end time, latest first; and finally, any cues with identical end times must be sorted in the order they were last added ... >
https://html.spec.whatwg.org/multipage/media.html#text-track-cue-order
However, there is a current issue where mutating a property of a TextTracCue/VTTCue (expect for .startTime/.endTime) results in a rearrangement of cues, causing cues with identical start/end time to be resorted, then deviating from the intended order. The same issue in Chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=783779
Attachments
Add attachment
proposed patch, testcase, etc.
Kueno
Comment 1
2023-10-02 00:36:05 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/18488
EWS
Comment 2
2023-10-04 11:16:36 PDT
Committed
268857@main
(1e25aac1511a): <
https://commits.webkit.org/268857@main
> Reviewed commits have been landed. Closing PR #18488 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2023-10-04 11:17:17 PDT
<
rdar://problem/116475605
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug