Bug 259105 - REGRESSION (Safari 16.4): HTMLVideoElement reports currentTime outside buffered range
Summary: REGRESSION (Safari 16.4): HTMLVideoElement reports currentTime outside buffer...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 16
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-11 04:21 PDT by Andreas Kogler
Modified: 2023-07-24 11:56 PDT (History)
3 users (show)

See Also:


Attachments
Testpage + stream for reproduction (2.33 KB, application/zip)
2023-07-11 04:21 PDT, Andreas Kogler
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kogler 2023-07-11 04:21:19 PDT
Created attachment 467021 [details]
Testpage + stream for reproduction

Here is a test page where the video element reports a currentTime of 0.00001 and a buffered range of 0-3.9. After some time a durationchanged event is fired and the buffered range jumps to 0.43 - 187 while the currentTime stays at 0.00001. After this happens the video still is able to play from 0, effectively playing outside of all buffered ranges.

This starts to happen with Safari 16.4 and didn't occur up until Safari 16.3. Check out the attached test setup for reproduction.
Comment 1 Radar WebKit Bug Importer 2023-07-11 08:43:21 PDT
<rdar://problem/112082327>
Comment 2 Eric Carlson 2023-07-24 11:54:19 PDT
This doesn't reproduce for me with current sources. The currentTime is 0 when the buffered ranges is [0 - 0], stays at 0 when it jumps to [0 - 3.92], changes to 0.000001 when the buffered ranges changes to [0.000001 - 3.92], and stays at 0.000001 when the 'durationchanged' event fires and the buffered ranges changes to [0.000001 - 171.92]
Comment 3 Eric Carlson 2023-07-24 11:56:53 PDT
I believe it was fixed by the changes for https://bugs.webkit.org/show_bug.cgi?id=255185 and/or https://bugs.webkit.org/show_bug.cgi?id=257400