Bug 253277 - bufferedchange event should be fired whenever eviction occurs.
Summary: bufferedchange event should be fired whenever eviction occurs.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jean-Yves Avenard [:jya]
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-02 15:47 PST by Jean-Yves Avenard [:jya]
Modified: 2023-03-06 02:37 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.