https://codereview.chromium.org/461023002/diff/1/test/mjsunit/es6/reject-caught-by-default-reject-handler.js
File test/mjsunit/es6/reject-caught-by-default-reject-handler.js
(right):
https://codereview.chromium.org/461023002/diff/1/test/mjsunit/es6/reject-caught-by-default-reject-handler.js#newcode69
test/mjsunit/es6/reject-caught-by-default-reject-handler.js:69:
assertEquals(["resolve q", "end main", "resolve p", "p0.then"], log);
On 2014/08/13 11:03:04, aandrey wrote:
should there be "p1.then" as well?
No. That code path is never taken, since p1 is rejected, not resolved.
https://codereview.chromium.org/461023002/diff/1/test/mjsunit/es6/throw-caught-by-default-reject-handler.js
File test/mjsunit/es6/throw-caught-by-default-reject-handler.js (right):
https://codereview.chromium.org/461023002/diff/1/test/mjsunit/es6/throw-caught-by-default-reject-handler.js#newcode50
test/mjsunit/es6/throw-caught-by-default-reject-handler.js:50: // p2 is
rejected by p1's default reject handler.
On 2014/08/13 11:03:04, aandrey wrote:
do we want the debugger to stop twice in this example?
I'm not sure. Maybe we should suppress rejections from the default
reject handler?
https://codereview.chromium.org/461023002/diff/1/test/mjsunit/es6/throw-caught-by-default-reject-handler.js#newcode70
test/mjsunit/es6/throw-caught-by-default-reject-handler.js:70:
assertEquals(["resolve q", "end main", "resolve p", "p0.then"], log);
On 2014/08/13 11:03:04, aandrey wrote:
ditto
Acknowledged.
https://codereview.chromium.org/461023002/
--
--
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/d/optout.