async/await improvements

Jeff Morrison lbljeffmo at gmail.com
Thu Nov 13 10:13:31 PST 2014


On 11/13/14, 4:25 AM, Anne van Kesteren wrote:
> On Thu, Nov 13, 2014 at 1:57 AM, Jeff Morrison <lbljeffmo at gmail.com> wrote:
>> Note that in my "crazy idea" I didn't say rethrow -- I carefully called it out as more of a "log" than a throw.
> I thought the plan was to have something equivalent to window.onerror
> for promises.
>
I think that's what this discussion is about. Such a "log" could be 
dispatched to window.onerror as well as console (etc).

Coming back to this after sleeping on it, though: The biggest problem I 
can think of with my particular idea is that it'd require that we 
somehow encode the concept of window.onerror and/or the console (etc) 
into the spec -- which currently has no notion of these things.

-Jeff


More information about the es-discuss mailing list