RESOLVED FIXED269185
Add NativePromise::AutoRejectProducer object
https://bugs.webkit.org/show_bug.cgi?id=269185
Summary Add NativePromise::AutoRejectProducer object
Jean-Yves Avenard [:jya]
Reported 2024-02-12 03:45:01 PST
An AutoRejectProducer automatically reject its NativePromise if not settled upon destruction. This will ease the use with ScriptExecutionContext::postTask(...) as the ScriptExecutionContext won't guarantee that the task be run (like if the Worker is destroyed first).
Attachments
Radar WebKit Bug Importer
Comment 1 2024-02-12 03:46:06 PST
Jean-Yves Avenard [:jya]
Comment 2 2024-02-12 05:49:15 PST
EWS
Comment 3 2024-02-13 02:56:40 PST
Committed 274535@main (1dff68a12c03): <https://commits.webkit.org/274535@main> Reviewed commits have been landed. Closing PR #24247 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.