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