Bug 221293

Summary: [GPUP][MSE] MediaSource::buffered and MediaSource::activeSourceBuffers do not update in the same run loop as MediaSource::endOfStream()
Product: WebKit Reporter: Peng Liu <peng.liu6>
Component: MediaAssignee: Peng Liu <peng.liu6>
Status: RESOLVED FIXED    
Severity: Normal CC: calvaris, eric.carlson, ews-watchlist, glenn, jer.noble, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=221965
https://bugs.webkit.org/show_bug.cgi?id=221686
Attachments:
Description Flags
WIP Patch
none
Patch
jer.noble: review+, ews-feeder: commit-queue-
Rebase the patch before landing none

Description Peng Liu 2021-02-02 13:30:31 PST
This leads to two failures in LayoutTests/imported/w3c/web-platform-tests/media-source/mediasource-buffered.html.
Comment 1 Radar WebKit Bug Importer 2021-02-02 13:31:00 PST
<rdar://problem/73895840>
Comment 2 Peng Liu 2021-02-02 16:23:29 PST
Created attachment 419079 [details]
WIP Patch
Comment 3 Peng Liu 2021-03-12 15:28:48 PST
Created attachment 423087 [details]
Patch
Comment 4 EWS 2021-03-12 19:31:56 PST
commit-queue failed to commit attachment 423087 [details] to WebKit repository. To retry, please set cq+ flag again.
Comment 5 EWS 2021-03-12 20:33:02 PST
commit-queue failed to commit attachment 423087 [details] to WebKit repository. To retry, please set cq+ flag again.
Comment 6 EWS 2021-03-12 20:51:14 PST
commit-queue failed to commit attachment 423087 [details] to WebKit repository. To retry, please set cq+ flag again.
Comment 7 Peng Liu 2021-03-12 21:25:33 PST
Created attachment 423096 [details]
Rebase the patch before landing
Comment 8 EWS 2021-03-13 11:08:27 PST
Committed r274390: <https://commits.webkit.org/r274390>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 423096 [details].