Re: WebIDL extension proposal for [Enumerable] interface attribute

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 UTC