Comment #21 on issue 3093 by canan...@gmail.com: Debugging promises
http://code.google.com/p/v8/issues/detail?id=3093

@20, the reject function just performs an Enqueue Task (see https://people.mozilla.org/~jorendorff/es6-draft.html#sec-rejectpromise) and doesn't immediately reject. So the handlers will be attached before the rejection is handled.

Besides, as I understand it, the result will be that the debugger will pause 'as if it is uncaught' -- that presumably doesn't prevent the developer from hitting continue and letting a later handler catch the exception. So the worse case would be a false positive (and your example isn't even that).

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to