Ian Hickson (2014-09-29T21:22:39.000Z)
On Mon, 29 Sep 2014, Anne van Kesteren wrote:
> On Mon, Sep 29, 2014 at 8:18 PM, Ian Hickson <ian at hixie.ch> wrote:
> > I certainly wouldn't object to the ES spec's event loop algorithms 
> > being turned inside out (search for "RunCode" on the esdiscuss thread 
> > above for an e-mail where I propose this) but that would be purely an 
> > editorial change, it wouldn't change the implementations.
> 
> The proposed setup from Allen will start failing the moment ECMAScript 
> wants something more complicated with its loop. At that point you'll 
> have to propose another set of hacks to make the integration with HTML 
> work again. And given this integration is so weird, I doubt 
> implementations will match it as written. Seems more likely they'll 
> implement the more straightforward alternative.
> 
> (Also, the proposed setup does seem to require exactly that kind of 
> mental integration I was worried about. With HTML hijacking the ES loop 
> to do its bidding.)

Certainly editorially I would much rather have the "inside out" version of 
the spec hooks that I mentioned in my earlier e-mail, yes.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
domenic at domenicdenicola.com (2014-10-05T23:43:48.380Z)
On Mon, 29 Sep 2014, Anne van Kesteren wrote:

> The proposed setup from Allen will start failing the moment ECMAScript 
> wants something more complicated with its loop. At that point you'll 
> have to propose another set of hacks to make the integration with HTML 
> work again. And given this integration is so weird, I doubt 
> implementations will match it as written. Seems more likely they'll 
> implement the more straightforward alternative.
> 
> (Also, the proposed setup does seem to require exactly that kind of 
> mental integration I was worried about. With HTML hijacking the ES loop 
> to do its bidding.)

Certainly editorially I would much rather have the "inside out" version of 
the spec hooks that I mentioned in my earlier e-mail, yes.