Fwd: "delay" keyword

Jussi Kalliokoski jussi.kalliokoski at gmail.com
Wed Sep 5 11:07:25 PDT 2012


That explains a lot, I read the spec for that quite a few times to make
sure that I didn't misunderstand the case and it seemed to me that it isn't
really a spec violation. But it surely isn't desired behavior.

Cheers,
Jussi

On Wed, Sep 5, 2012 at 7:48 PM, Ian Hickson <ian at hixie.ch> wrote:

> On Thu, 5 Jul 2012, Boris Zbarsky wrote:
> > On 7/5/12 1:50 PM, Brendan Eich wrote:
> > > Seems like a bug in Firefox, a violation of HTML5 even. The slow
> > > script dialog should not allow an event loop to nest. Cc'ing Boris for
> > > his opinion (this may be a known bug on file, my memory dims with
> > > age).
> >
> > [...] Say the user decides to close the tab or window when they get the
> > slow script prompt (something that I think is desirable to allow the
> > user to do, personally). Should this close the tab/window without firing
> > unload events (a spec violation)
>
> That's not a script violation, it's just equivalent to turning off
> scripts briefly and closing the browsing context.
>
>
> > or should it fire them while other script from the page is on the stack
> > and at some random point in its execution (hey, another spec violation)?
>
> The spec allows user agents to abort scripts (with or without catchable
> exceptions) upon a timeout or upon user request, so it wouldn't be a spec
> violation either way.
>
> http://www.whatwg.org/specs/web-apps/current-work/#killing-scripts
>
> --
> Ian Hickson               U+1047E                )\._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120905/df86f92c/attachment.html>


More information about the es-discuss mailing list