Event loops in navigated-away-from windows

Mark S. Miller erights at google.com
Sat Sep 27 07:02:14 PDT 2014


My intent was not to refer to a nonstd api. Instead, what happens with

    (function f() {setTimeout(f, 0);})();

in a web page that is navigated away from?


On Sat, Sep 27, 2014 at 9:56 AM, Anne van Kesteren <annevk at annevk.nl> wrote:

> On Sat, Sep 27, 2014 at 3:52 PM, Mark S. Miller <erights at google.com>
> wrote:
> > What happens if someone runs
> >
> >     (function f() {setImmediate(f);})();
> >
> > in a web page?
>
> As far as I can tell from
> https://developer.mozilla.org/en-US/docs/Web/API/Window.setImmediate
> that seems like a proprietary API from Microsoft. What would it do at
> a specification level?
>
>
> --
> https://annevankesteren.nl/
>



-- 
    Cheers,
    --MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140927/6cf8d781/attachment.html>


More information about the es-discuss mailing list