Bug 128382

Summary: Update Promises implementation to match latest TC39 consensus
Product: WebKit Reporter: Theresa O'Connor <eoconnor>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ljharb, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-01/jan-30.md#conclusionresolution-3
Bug Depends on: 136222    
Bug Blocks:    

Theresa O'Connor
Reported 2014-02-07 10:43:48 PST
* Promise.cast is renamed to Promise.resolve (remove old Promise.resolve) * Keep then, reject chain (NOT DEFER, reject!) * Renaming .cast thus removes over-wrapping (always-wrap) deoptimization in old Promise.resolve
Attachments
Radar WebKit Bug Importer
Comment 1 2014-02-07 10:44:22 PST
Jordan Harband
Comment 2 2015-09-21 13:56:36 PDT
I believe all of these have been fixed already
Yusuke Suzuki
Comment 3 2015-09-21 16:11:07 PDT
Yes. This issue is fixed by r186298.
Note You need to log in before you can comment on or make changes to this bug.