WebIDL attribute reflection

Brendan Eich brendan at mozilla.com
Sun Dec 30 22:53:28 PST 2012


Boris Zbarsky wrote:
> On 12/30/12 10:31 AM, Brandon Benvie wrote:
>> The problem I see with the accessor model is that it's attempting to use
>> what's now being referred to in recent ES6 specs as "Ordinary" object
>> semantics, when the functionality is absolutely of exotic functions.
>
> Can you please define "exotic functions"?

Think ES1-5 "host objects".

>   How is the innerHTML getter "exotic", exactly?

It isn't.

Brandon may have assumed more magic in more of the DOM than there is, as 
you note:

>> Ordinary objects only have accessors to describe "interesting"
>> non-data properties.
>
> Right, which is many (but not all) properties in the DOM.
>

/be


More information about the es-discuss mailing list