Reviewers: rossberg,
Message:
I'm not sure why we ended up with different names for these functions. This
is a
trivial change and it makes us pass more tests.
Description:
ES6 Promise: Rename method names to match spec.
https://github.com/domenic/promises-unwrapping/blob/master/README.md
Promise.resolved -> Promise.resolve
Promise.rejected -> Promise.reject
Promise.one -> Promise.race
This does not remove the non standard functions chain nor deferred.
BUG=3050
Please review this at https://codereview.chromium.org/110503004/
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+143, -143 lines):
M src/promise.js
M test/mjsunit/harmony/promises.js
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.