WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
269185
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-02-12 03:46:06 PST
<
rdar://problem/122790738
>
Jean-Yves Avenard [:jya]
Comment 2
2024-02-12 05:49:15 PST
Pull request:
https://github.com/WebKit/WebKit/pull/24247
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.
Top of Page
Format For Printing
XML
Clone This Bug