Fwd: "delay" keyword
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.
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.
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss