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   

Joseph Pecoraro
Reported 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.
Attachments
Radar WebKit Bug Importer
Comment 1 2015-02-16 13:46:43 PST
Yusuke Suzuki
Comment 2 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.
Yusuke Suzuki
Comment 3 2016-12-14 08:27:31 PST
Recently, promise reactions are merged into one array.
Note You need to log in before you can comment on or make changes to this bug.