Remove Promise.cast
authorrossberg@chromium.org <rossberg@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 18 Mar 2014 15:03:35 +0000 (15:03 +0000)
committerrossberg@chromium.org <rossberg@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 18 Mar 2014 15:03:35 +0000 (15:03 +0000)
commitb7b40e2b8417fc2f3862f347156c628c45aff4cd
tree26a3633aa5eca6e2f680f9d4e9bfaf8b4eda7787
parent2e555d28875c00a5e203108ce1c615cf6a4c87ba
Remove Promise.cast

...as per January meeting. Renames 'cast' to 'resolve'. We rename the prior 'resolve' to 'accept', to keep the chain API usable.

R=svenpanne@chromium.org
BUG=

Review URL: https://codereview.chromium.org/200763012

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20040 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/promise.js
test/mjsunit/es6/promises.js
test/webkit/fast/js/Promise-static-cast-expected.txt
test/webkit/fast/js/Promise-static-cast.js