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

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