W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

Re: WebIDL extension proposal for [Enumerable] interface attribute

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 13 Jul 2009 01:47:55 +0000 (UTC)
To: Cameron McCormack <cam@mcc.id.au>
Cc: Anselm R Garbe <anselm@aplixcorp.com>, public-webapps@w3.org
Message-ID: <Pine.LNX.4.62.0907130145420.9397@hixie.dreamhostps.com>
On Mon, 13 Jul 2009, Cameron McCormack wrote:
> 
>   * Entries in a dictionary interface that don’t correspond to the
>     attributes declared on them are also exposed as properties on the
>     host object in ES, and are enumerable (unlike corresponding named
>     properties for regular interfaces).

Could you elaborate an what this means?


>   * Dictionary interfaces are implicitly [Callable,NoInterfaceObject].
>     [OverrideBuiltins] could be used, which would make dictionary
>     lookups take precedence over other property lookups, as with
>     regular interfaces with getters.

What's the difference between a dictionary lookup and other property 
lookups?


>   * A “dictionary” (an object that implements one or more dictionary
>     interfaces) can be designated as “not extensible”, which means
>     effectively the same thing as not having a creator on a regular
>     interface.

In ES, any object has a creator even if it's not explicitly listed, it 
just doesn't do anything from the host's perspective. Is this different 
here?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 13 July 2009 01:48:33 GMT

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