b7b40e2b84
...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
15 lines
292 B
Plaintext
15 lines
292 B
Plaintext
Test Promise.resolve as cast
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
PASS promise is value
|
|
PASS result is undefined
|
|
PASS result2 is undefined
|
|
PASS result is "hello"
|
|
PASS result2 is 42
|
|
PASS fulfilled
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|