W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2011

[Bug 12248] Make objects first-class API citizens

From: <bugzilla@jessica.w3.org>
Date: Wed, 16 Mar 2011 02:47:40 +0000
To: public-script-coord@w3.org
Message-Id: <E1Pzglw-0006Q3-C9@jessica.w3.org>

--- Comment #30 from Allen Wirfs-Brock <allen@wirfs-brock.com> 2011-03-16 02:47:38 UTC ---
(In reply to comment #29)
What do you mean by "isn't possible currently with
interfaces-implemented-by-JS"?  In JavaScript, this is a property existence
test that can be performed using Object.prototype.hasOwnProperty or
Object.getOwnProperty.  This exact pattern is used quite extensively by the ES5
Object.defineProperty to process its "options parameter".

Are you saying that host object interfacing layers in browser don't provide the
capability for such tests or is something else the issue?

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 16 March 2011 02:47:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:02 UTC