On 10/18/17 2:37 PM, Steve Fink wrote:
Is there any way to detect if a finalized Promise swallowed an exception without "handling" it in some way or other, even if very heuristically?

We used to have such a way. It requires doing things during finalization, which is not great.

But we can also just do the normal promise detection: a last promise in a chain that gets rejected and no one does a catch() before we go to the event loop. We already have that infrastructure in place...

-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to