Comment #38 on issue 3093 by [email protected]: Debugging promises
http://code.google.com/p/v8/issues/detail?id=3093

Unlogging sounds really complicated to me. The use-case of explicitly wanting to add rejections after the fact seems really niche to me. We should support it, but it should not be the default. You should have to opt-in to it (e.g. via a release() method on the promise).

The default behavior should be that if a promise has an unhandled rejection when we hit the event loop it should:
1. Log to the console
2. Fire window.onerror

Promises are unusable because of this. Seriously. This is terrible. I'm embarrassed we shipped this. I'm tempted to say we should unship. It's really that bad.

--
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
[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.

Reply via email to