Bug 262746 - Should have the ability to chain a DOMPromise to a NativePromise
Summary: Should have the ability to chain a DOMPromise to a NativePromise
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jean-Yves Avenard [:jya]
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-05 16:40 PDT by Jean-Yves Avenard [:jya]
Modified: 2023-10-05 16:41 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Yves Avenard [:jya] 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.
Comment 1 Radar WebKit Bug Importer 2023-10-05 16:41:13 PDT
<rdar://problem/116549749>