Event loops in navigated-away-from windows

Anne van Kesteren annevk at annevk.nl
Fri Sep 26 23:20:25 PDT 2014


On Sat, Sep 27, 2014 at 4:03 AM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> Now that JS is growing an event loop, what should happen to it in
> navigated-away-from windows?

I still don't understand why JavaScript needs to have the loop itself
and can't just queue jobs for the Host to take care of. Given that the
Host has a more complicated model, that would be much saner and
wouldn't cause all this confusion of jobs vs microtasks vs tasks.


-- 
https://annevankesteren.nl/


More information about the es-discuss mailing list