WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
314624
time update event can be fired while we are seeking, before the seek completed
https://bugs.webkit.org/show_bug.cgi?id=314624
Summary
time update event can be fired while we are seeking, before the seek completed
Jean-Yves Avenard [:jya]
Reported
2026-05-12 00:58:46 PDT
Observed with the test imported/w3c/web-platform-tests/media-source/mediasource-duration.html The test seeks and expect the event to be in the order of "seeking" followed by "timeupdate" However, there is the progress observer firing the timeupdate every 250ms ; it causes the test to intermittently fail prior the seeking event being dispatched if the timer fires while the seeking event is in flight. The specs state: "If the time was reached through the usual monotonic increase of the current playback position during normal playback, and if the user agent has not fired a timeupdate event at the element in the past 15 to 250ms and is not still running event handlers for such an event, then the user agent must queue a media element task given the media element to fire an event named timeupdate at the element. (In the other cases, such as explicit seeks, relevant events get fired as part of the overall process of changing the current playback position.)" As such, it can be read that due to the explicit seek, the regular timeupdate shouldn't fire.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-05-12 00:58:53 PDT
<
rdar://problem/176861767
>
Jean-Yves Avenard [:jya]
Comment 2
2026-05-12 05:48:39 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/64758
EWS
Comment 3
2026-05-13 09:06:05 PDT
Committed
313165@main
(612b528ca587): <
https://commits.webkit.org/313165@main
> Reviewed commits have been landed. Closing PR #64758 and removing active labels.
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