WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
265102
[NativePromise] Remove need to provide SerialFunctionDispatch to all and allSettled
https://bugs.webkit.org/show_bug.cgi?id=265102
Summary
[NativePromise] Remove need to provide SerialFunctionDispatch to all and allS...
Jean-Yves Avenard [:jya]
Reported
2023-11-18 19:37:38 PST
In
bug 265096
, we added a private `whenSettled` override that do not take a SerialFunctionDispatcher, when used the resolver callback is immediately executed. This feature can be extended to NativePromise::all and NativePromise::allSettled so that you no longer need to pass a SerialFunctionDispatcher , simplifying the use and making the syntax closer to JS promise
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-11-18 19:52:53 PST
<
rdar://problem/118612313
>
Jean-Yves Avenard [:jya]
Comment 2
2023-11-18 20:07:15 PST
Pull request:
https://github.com/WebKit/WebKit/pull/20716
EWS
Comment 3
2023-11-21 17:19:44 PST
Committed
271032@main
(9cfcc4e4e46b): <
https://commits.webkit.org/271032@main
> Reviewed commits have been landed. Closing PR #20716 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