On Mon, Jun 23, 2014 at 11:54 AM, Boris Zbarsky <bzbar...@mit.edu> wrote:
>   for (listener of listeners) {
>     try {
>       listener();
>     } catch (e) {
>       // Now what?
>     }
>   }

Can't you just pass e into a setTimeout()'d callback, and rethrow it
from there?  Does that mess with the stack or something?

~TJ
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to