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

Re: [PrototypeRoot]

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 8 Mar 2009 00:03:31 +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.0903072358030.2690@hixie.dreamhostps.com>
On Sat, 7 Mar 2009, Cameron McCormack wrote:
> 
> Done:
> 
>   The value of the internal [[Class]] property of a host object is
>   determined as follows:
>     * If the host object implements a single interface, then the value
>       of the internal [[Class]] property MUST be the identifier of
>       that interface.

I think it would make sense to exclude [NoPrototypeObject] interfaces from 
consideration here.


> Note that this still technically does not mean you can guarantee that
> the NodeList returned by querySelectorAll() has [[Class]] == "NodeList",
> since it could be that that host object implements another interface,
> which might be required by another spec, or perhaps just because the
> implementation wants to.

IMHO this is a problem. I don't think that UA extensions should affect the 
[[Class]], and I think that other specs should have a way (e.g. 
[NoPrototypeObject]) of always making sure they don't affect the [[Class]] 
of existing stuff.

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

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