Re: [XBL] Scripting Model

On Thu, 7 Dec 2006, Cameron McCormack wrote:
> 
> 8.2.2 Scripting Model
> =====================
>   
>   In ECMAScript, the script scope and the Window object are one and the
>   same.
> 
> This is not always the case, since the scope chain is modified in 
> ECMAscript by function calls and “with” statements.

Fixed by making it "global script scope".


>   Security contexts are (or will be) described in the HTML5
>   specification. [HTML5]
> 
> If security contexts aren’t defined by the document you are 
> referencing, they should be defined in this document.

The editor of the two specs is the same. It's going to take a lot of work 
to write the aforementioned definition. Once it's written, it'll go in the 
HTML5 spec. There's no point writing it and then adding it to the XBL2 
spec. :-)

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

Received on Saturday, 6 January 2007 10:08:22 UTC