Closed
Bug 1123875
Opened 11 years ago
Closed 11 years ago
Setting a readonly attribute on a proxy no longer throws in strict mode.
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla40
People
(Reporter: Ms2ger, Assigned: jorendorff)
References
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
|
170 bytes,
text/html
|
Details | |
|
1.55 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
I suspect because bug 1103368 didn't update DOMProxyHandler::defineProperty. I confirmed that it still worked in the Fx34.0 release and didn't work in a 37 build from last week or so.
| Reporter | ||
Comment 1•11 years ago
|
||
[Tracking Requested - why for this release]:
status-firefox35:
--- → ?
status-firefox36:
--- → ?
status-firefox37:
--- → affected
status-firefox38:
--- → affected
status-firefox-esr31:
--- → unaffected
tracking-firefox37:
--- → ?
tracking-firefox38:
--- → ?
Updated•11 years ago
|
Flags: needinfo?(jorendorff)
Updated•11 years ago
|
Comment 2•11 years ago
|
||
jorendorff and ms2ger confirmed via irc that this is a small issue. We're simply not throwing an exception in one case where we should. As such, I don't think this warrants tracking. I'm happy to consider an uplift request.
| Assignee | ||
Comment 3•11 years ago
|
||
This is fixed, and I did a *ton* of work on SetProperty paths so I imagine that fixed it at some point.
We should have a test for this, so I'm leaving it open and taking.
Flags: needinfo?(jorendorff)
| Assignee | ||
Comment 4•11 years ago
|
||
Attachment #8583754 -
Flags: review?(peterv)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jorendorff
Status: NEW → ASSIGNED
| Reporter | ||
Comment 5•11 years ago
|
||
Use a testharness.js mochitest with assert_throws(new TypeError(), function() { .. }) to reduce boilerplate.
| Assignee | ||
Comment 6•11 years ago
|
||
Thanks for the nudge. That's a big difference. Building now to retest.
| Assignee | ||
Comment 7•11 years ago
|
||
Attachment #8584540 -
Flags: review?(peterv)
| Assignee | ||
Updated•11 years ago
|
Attachment #8583754 -
Attachment is obsolete: true
Attachment #8583754 -
Flags: review?(peterv)
Updated•11 years ago
|
Attachment #8584540 -
Flags: review?(peterv) → review+
| Assignee | ||
Comment 8•11 years ago
|
||
Backed out (along with every other patch from that massive push) in https://hg.mozilla.org/integration/mozilla-inbound/rev/386c8b5b73c0 for talos other timeouts:
https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=3fc49391f7fe&filter-searchStr=talos oth
Flags: needinfo?(Ms2ger)
| Assignee | ||
Comment 10•11 years ago
|
||
Comment 11•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
status-firefox40:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
| Reporter | ||
Updated•8 years ago
|
Flags: needinfo?(Ms2ger)
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•