Bug 253277

Summary: bufferedchange event should be fired whenever eviction occurs.
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Jean-Yves Avenard [:jya] 2023-03-02 15:47:58 PST
Per MediaSource spec, when calling SourceBuffer.appendBuffer eviction can occurs during the prepare append algorithm [1]

If eviction occurs at this time, a `bufferedchange` event should be fired on the SourceBuffer object.

[1] https://w3c.github.io/media-source/#dfn-prepare-append
Comment 1 Radar WebKit Bug Importer 2023-03-02 15:48:16 PST
<rdar://problem/106168510>
Comment 2 Jean-Yves Avenard [:jya] 2023-03-05 19:37:38 PST
Pull request: https://github.com/WebKit/WebKit/pull/11095
Comment 3 EWS 2023-03-06 02:37:05 PST
Committed 261263@main (b76e6ffa9afd): <https://commits.webkit.org/261263@main>

Reviewed commits have been landed. Closing PR #11095 and removing active labels.