W3C home > Mailing lists > Public > public-appformats@w3.org > January 2007

Re: [XBL] Accessing Binding Implementations

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 9 Jan 2007 01:25:11 +0000 (UTC)
To: Cameron McCormack <cam@mcc.id.au>
Cc: public-appformats@w3.org
Message-ID: <Pine.LNX.4.62.0701090122150.22379@dhalsim.dreamhost.com>

On Thu, 7 Dec 2006, Cameron McCormack wrote:
> 
> 5.3 Accessing Binding Implementations
> 
>   In addition, in languages that support dynamic dispatch, any attempts
>   to access members of ElementXBL objects that do not correspond to
>   methods or properties on the object itself but do correspond to
>   members of one of the objects in the xblImplementations list must be
>   forwarded to the last object in the xblImplementations list that is so
>   matched.
> 
> It should be mentioned here that ECMAScript is one such language that 
> supports dynamic dispatch, and how this should be achieved (presumably 
> by modifying the prototype chain).

Changing the prototype chain doesn't work (since the prototype chain only 
does single inheritance), but I've said that this applies to JS.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 9 January 2007 01:25:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:21 GMT