W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2009

[PrototypeRoot]

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 7 Mar 2009 04:26:02 +0000 (UTC)
To: Cameron McCormack <cam@mcc.id.au>
Cc: Boris Zbarsky <bzbarsky@MIT.EDU>, WebApps WG <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.62.0903070408360.2690@hixie.dreamhostps.com>
On Sat, 7 Mar 2009, Cameron McCormack wrote:
> 
> However, since there’s no Web IDL definition of NodeList that uses 
> [PrototypeRoot], there is no requirement on the value of [[Class]] of 
> the object returned by querySelectorAll().
> 
> (We could define that if a host object implements only a single 
> interface, then [[Class]] must be the identifier of that interface.  
> The requirements on particular values for host object [[Prototype]] is 
> still somewhat speculative, and will probably change a bit more.)

In that case I would like us to do this (specifically, define [[Class]] 
for objects that have only one non-[NoPrototypeObject] interface), since 
that's the majority of them, and it would be better than having to 
sprinkle [PrototypeRoot] all over the place.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 7 March 2009 04:26:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:30 GMT