Closed Bug 688417 Opened 8 years ago Closed 8 years ago

Test for Bug 505915 expects setting XHR.onreadystatechange to cause unwrapping of the object passed in

Categories

(Core :: XPConnect, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla10

People

(Reporter: khuey, Unassigned)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
I think that this test can just be removed.
Attachment #561706 - Flags: review?(mrbkap)
So what happens here is that the onfoo setter looks at the object passed in, determines that it's not a function, and bails with NS_OK.  So we're still not setting an event listener here, we're just not throwing anymore.  This is consistent with how onfoo behaves on Nodes.
Attachment #561706 - Flags: review?(mrbkap) → review+
https://hg.mozilla.org/mozilla-central/rev/78fb73454cac
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
You need to log in before you can comment on or make changes to this bug.