Bug 128382
| Summary: | Update Promises implementation to match latest TC39 consensus | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Theresa O'Connor <eoconnor> |
| Component: | JavaScriptCore | Assignee: | 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
* 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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/16013392>
Jordan Harband
I believe all of these have been fixed already
Yusuke Suzuki
Yes. This issue is fixed by r186298.