W3C home > Mailing lists > Public > public-html@w3.org > September 2009

Re: ECMA TC 39 / W3C HTML and WebApps WG coordination

From: Cameron McCormack <cam@mcc.id.au>
Date: Sat, 26 Sep 2009 15:41:51 +1000
To: "Mark S. Miller" <erights@google.com>
Cc: Maciej Stachowiak <mjs@apple.com>, public-webapps@w3.org, HTML WG <public-html@w3.org>, es-discuss <es-discuss@mozilla.org>
Message-ID: <20090926054150.GC26517@wok.mcc.id.au>
Maciej Stachowiak:
> > Now, there may be pragmatic reasons for avoiding catchall getters and
> > setters:
> > …

Mark S. Miller:
> Yes. As an obvious example of #3, what happens when a Storage
> <http://dev.w3.org/html5/webstorage/> key is "toString"?

It’s a good example of something that’s not obvious, though it is
defined.  If [OverrideBuiltins] is on the interface, then toString is
taken as a a named property; otherwise, it’s the property from the
Storage prototype object.  This is handled by the host object [[Get]]
method:

  http://dev.w3.org/2006/webapi/WebIDL/#get

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Saturday, 26 September 2009 05:42:35 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:08 UTC