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    

Description Jean-Yves Avenard [:jya] 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.
Comment 1 Jean-Yves Avenard [:jya] 2023-11-14 17:01:06 PST
subtask of 264134
Comment 2 Radar WebKit Bug Importer 2023-11-14 17:01:31 PST
<rdar://problem/118426574>
Comment 3 Jean-Yves Avenard [:jya] 2023-11-14 17:29:24 PST
Pull request: https://github.com/WebKit/WebKit/pull/20513
Comment 4 EWS 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.