Bug 141664
| Summary: | Web Inspector: ES6: Improved Support for Promises - Promise Reactions | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> |
| Component: | Web Inspector | Assignee: | Joseph Pecoraro <joepeck> |
| Status: | NEW | ||
| Severity: | Normal | CC: | graouts, inspector-bugzilla-changes, jonowells, webkit-bug-importer, ysuzuki |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Joseph Pecoraro
* SUMMARY
ES6: Improved Console Support for Promises - Promise Reactions.
Internal Slots: (See JSPromise / JSPromiseReaction)
[[PromiseFulfillReactions]]
- A List of PromiseReaction records to be processed when/if the promise transitions from the "pending" state to the "fulfilled" state.
[[PromiseRejectReactions]]
- A List of PromiseReaction records to be processed when/if the promise transitions from the "pending" state to the "rejected" state.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/19851072>
Yusuke Suzuki
ES6 Promise is updated and now written in JS.
Promise has private symbol fields; promiseFulfillReactions and promiseRejectReactions.
If the Promise status is pending, its value is JS array of reaction objects.
Yusuke Suzuki
Recently, promise reactions are merged into one array.