Bug 262746
| Summary: | Should have the ability to chain a DOMPromise to a NativePromise | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: | DOM | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Jean-Yves Avenard [:jya]
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
<rdar://problem/116549749>