Closed Bug 688417 Opened 14 years ago Closed 14 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
normal

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+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: