The default bug view has changed. See this FAQ.

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

RESOLVED FIXED in mozilla10

Status

()

Core
XPConnect
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: khuey, Unassigned)

Tracking

unspecified
mozilla10
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 561706 [details] [diff] [review]
Patch

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.

Updated

6 years ago
Attachment #561706 - Flags: review?(mrbkap) → review+
https://hg.mozilla.org/mozilla-central/rev/78fb73454cac
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
You need to log in before you can comment on or make changes to this bug.