Closed
Bug 910261
Opened 11 years ago
Closed 11 years ago
Proxy defineProperty hooks need to be able to throw in strict mode but not in non-strict mode
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 826587
People
(Reporter: bzbarsky, Unassigned)
References
Details
(Keywords: compat)
Basically, proxies need to be able to make a property "look readonly" by throwing from defineProperty only in strict mode. Right now we end up throwing in both modes, for lack of anything better, which is causing web compat issues in Firefox 23 for HTMLDocument objects. See bug 910220.
Reporter | ||
Comment 1•11 years ago
|
||
And I could have sworn we had a bug on this, but I can't find it. As a workaround, I'm considering switching the DOM proxies to simply not throw in strict mode....
Severity: normal → major
Keywords: compat
Comment 2•11 years ago
|
||
This is bug 826587, which if you'll recall I mentioned a couple days ago as the thing I most wanted to fix after Intl/ES6 testing stuff wrapped up. :-)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 3•11 years ago
|
||
OK, so what are my options for Firefox 24, 25, 26 given the web compat breakage we have on our hands? :(
Flags: needinfo?(jwalden+bmo)
Comment 4•11 years ago
|
||
Bug 910220 comment 6 is what I think should be done.
Flags: needinfo?(jwalden+bmo)
You need to log in
before you can comment on or make changes to this bug.
Description
•