Bug 253884

Summary: [MSE] Ensure that SourceBuffer.buffered attribute is modified should eviction occurs
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=253560

Jean-Yves Avenard [:jya]
Reported 2023-03-14 06:35:47 PDT
Per spec, when data is evicted from the source buffer during the Prepare Append Algorithm [1], the buffered attribute should be immediately updated upon returning from the appendBuffer call. However, as identified in bug 253560, this may not happen. The code for eviction was exercised in LayoutTests/media/media-source/media-source-append-buffer-full-quota-exceeded-error.html ; however the test relies on MockMediaSource which never uses the GPU process. We should have a test for this particular case.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-03-14 06:36:21 PDT
Jean-Yves Avenard [:jya]
Comment 2 2023-03-14 19:04:33 PDT
Will do so with bug 225367; considering the scenation described is covered in the mock tests. *** This bug has been marked as a duplicate of bug 225367 ***
Note You need to log in before you can comment on or make changes to this bug.