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: Tue, 19 Jan 2016 10:09:53 +0000
To: public-script-coord@w3.org
Message-ID: <bug-29376-3890-PmWSP13obC@http.www.w3.org/Bugs/Public/>

--- Comment #7 from Anne <annevk@annevk.nl> ---
Okay, let's just stick to whatever IDL defines then. And I guess I can inline
it and we should just update it whenever IDL adds something or we add something
to Location. If this is only needed for Location it does not make much sense to
have an abstract operation for it.

I would still appreciate some guidance what should be included beyond the
members listed in the interface. Is this correct for Location?

* toString
* toJSON
* valueOf
* @@toPrimitive (per bug 29183)

There's also bug 27361 which we'd need to tackle in some way.

Also, currently IDL defines [Unforgeable] for interfaces, but as far as I can
tell that's only for Location, and we're going to stop using it for Location as
it breaks ECMAScript invariants. That is something that can be cleaned up once
this is wrapped up.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 19 January 2016 10:09:56 UTC

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