Bug 136222 - Promise: Drop Promise.cast
Summary: Promise: Drop Promise.cast
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Yusuke Suzuki
URL:
Keywords:
Depends on:
Blocks: 128382
  Show dependency treegraph
 
Reported: 2014-08-25 05:36 PDT by Yusuke Suzuki
Modified: 2014-09-16 17:32 PDT (History)
4 users (show)

See Also:


Attachments
Patch (14.71 KB, patch)
2014-08-25 05:37 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yusuke Suzuki 2014-08-25 05:36:11 PDT
In the latest(rev 26) ES6 draft, Promise.cast is dropped and Promise.resolve is replaced with old Promise.cast.
Seeing this thread[1], now Firefox and Chrome ship Promise without "cast".

[1]: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/RNphv8dgJ0g/PLsR2rRpn_sJ
Comment 1 Yusuke Suzuki 2014-08-25 05:37:33 PDT
Created attachment 237079 [details]
Patch
Comment 2 WebKit Commit Bot 2014-09-16 17:32:26 PDT
Comment on attachment 237079 [details]
Patch

Clearing flags on attachment: 237079

Committed r173681: <http://trac.webkit.org/changeset/173681>
Comment 3 WebKit Commit Bot 2014-09-16 17:32:29 PDT
All reviewed patches have been landed.  Closing bug.