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: | Media | Assignee: | 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]
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/106699169>
Jean-Yves Avenard [:jya]
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 ***