[whatwg] The Module Tag

Ian Hickson ian at hixie.ch
Tue Oct 31 13:59:07 PST 2006


On Tue, 31 Oct 2006, Douglas Crockford wrote:
>
> > You need to define precisely what happens in the context of the 
> > receiver when it handles a message. Does script processing suspend for 
> > that time? Or does it run in parallel to handling the message?
> 
> The sender is suspended until the receiver returns.

As a quick note, in general we're trying to get away from synchronous 
scripting. It causes too many problems, especially in browsers written 
around a single UI thread on which JS runs. Several APIs are having to be 
grandfathered in -- window.alert(), for instance -- but as a rule none of 
the new APIs should be synchronous.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list