Bug 141664

Summary: Web Inspector: ES6: Improved Support for Promises - Promise Reactions
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: 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   

Description Joseph Pecoraro 2015-02-16 13:46:20 PST
* 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.
Comment 1 Radar WebKit Bug Importer 2015-02-16 13:46:43 PST
<rdar://problem/19851072>
Comment 2 Yusuke Suzuki 2015-07-06 23:00:12 PDT
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.
Comment 3 Yusuke Suzuki 2016-12-14 08:27:31 PST
Recently, promise reactions are merged into one array.