Bug 128382 - Update Promises implementation to match latest TC39 consensus
Summary: Update Promises implementation to match latest TC39 consensus
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://github.com/rwaldron/tc39-note...
Keywords: InRadar
Depends on: 136222
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-07 10:43 PST by Theresa O'Connor
Modified: 2015-09-21 16:11 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Theresa O'Connor 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
Comment 1 Radar WebKit Bug Importer 2014-02-07 10:44:22 PST
<rdar://problem/16013392>
Comment 2 Jordan Harband 2015-09-21 13:56:36 PDT
I believe all of these have been fixed already
Comment 3 Yusuke Suzuki 2015-09-21 16:11:07 PDT
Yes. This issue is fixed by r186298.