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 05:27:10 +0000
To: public-script-coord@w3.org
Message-ID: <bug-29376-3890-SYE1oJgLm0@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29376

--- Comment #6 from Boris Zbarsky <bzbarsky@mit.edu> ---
> However, I'm wondering now if perhaps Location can use the same overrides that
> WindowProxy uses for this.

Note that the WindowProxy overrides are not necessarily web-compatible.  See
https://bugzilla.mozilla.org/show_bug.cgi?id=1197958

That said, we could try the same thing for Location, sure.  It just seems like
a extra risk (though still less than for WindowProxy, but since we've just
established that the risk for WindowProxy is "we know it breaks some sites"
that's a pretty low bar).

The benefit of only doing the weirdness for the IDL-defined props is that it
minimizes risk: no one is defining properties with those names on Location
objects, because those properties are already non-configurable on Location
objects.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 19 January 2016 05:27:14 UTC

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