Bug 264847
| Summary: | SourceBufferPrivateClient/MediaSourcePrivateClient should use NativePromise | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: | Media | Assignee: | 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]
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jean-Yves Avenard [:jya]
subtask of 264134
Radar WebKit Bug Importer
<rdar://problem/118426574>
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/20513
EWS
Committed 270788@main (f15fc780c060): <https://commits.webkit.org/270788@main>
Reviewed commits have been landed. Closing PR #20513 and removing active labels.