Bug 264847

Summary: SourceBufferPrivateClient/MediaSourcePrivateClient should use NativePromise
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   
See Also: https://bugs.webkit.org/show_bug.cgi?id=262870
Bug Depends on:    
Bug Blocks: 264134, 264854    

Jean-Yves Avenard [:jya]
Reported 2023-11-14 16:53:39 PST
By using NativePromise instead of callback, it makes it easier to control which thread the completion task should run on once the sub-task has completed. As it is today, all of MSE can only run on the main thread.
Attachments
Jean-Yves Avenard [:jya]
Comment 1 2023-11-14 17:01:06 PST
subtask of 264134
Radar WebKit Bug Importer
Comment 2 2023-11-14 17:01:31 PST
Jean-Yves Avenard [:jya]
Comment 3 2023-11-14 17:29:24 PST
EWS
Comment 4 2023-11-15 13:55:37 PST
Committed 270788@main (f15fc780c060): <https://commits.webkit.org/270788@main> Reviewed commits have been landed. Closing PR #20513 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.