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

[Bug 29376] Need an abstract operation for "is this an IDL-defined property"

From: <bugzilla@jessica.w3.org>
Date: Mon, 18 Jan 2016 03:38:24 +0000
To: public-script-coord@w3.org
Message-ID: <bug-29376-3890-sCDseIGdAs@http.www.w3.org/Bugs/Public/>

--- Comment #2 from Cameron McCormack <cam@mcc.id.au> ---
If the input is a platform object implementing a given interface, then I'm
assuming we want to return true for:

* non-static operations, attributes and constants defined on the interface
* "toString", if a stringifier is present
* "toJSON", if a serializer is present
* "valueOf"
* @@iterator, "get", "keys", "values", etc. from iterable/maplike/setlike
declarations (not relevant here, but should be present for completeness)

Is that all?  I guess you should handle "valueOf" on your end since we just
want to prevent it from overriding the standard prototype-inherited one.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 18 January 2016 03:38:32 UTC

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