WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
262746
Should have the ability to chain a DOMPromise to a NativePromise
https://bugs.webkit.org/show_bug.cgi?id=262746
Summary
Should have the ability to chain a DOMPromise to a NativePromise
Jean-Yves Avenard [:jya]
Reported
2023-10-05 16:40:48 PDT
It would be advantageous to be able to chain a NativePromise to a DOMPromise such that when the NativePromise is resolved it will automatically resolve the DOMPromise. One advantage other than the simplification of common use-case would be that you wouldn't need to pass the DOMPromise around like we often do, and remove the need to always include DOMPromise.h . which pull JavaScriptCore/JSPromise.h and takes forever to build.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-10-05 16:41:13 PDT
<
rdar://problem/116549749
>
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