doesQI is a very bad implementation of instanceof. Die, I say, Die!
I'm not sure that we can do this just yet since |instanceof| doesn't necessarily always work the way it is supposed to. See bug 162927 comment 8 for one example.
Although I suppose in the cases that it was used for, it probably should work....
OK, so it looks like instanceof Element isn't very useful, but instanceof Components.interfaces.nsIDOMElement works as expected.
Comment on attachment 133178 [details] [diff] [review] Proposed patch neat. sr=alecf
Attachment #133178 - Flags: superreview?(alecf) → superreview+
Comment on attachment 133178 [details] [diff] [review] Proposed patch Ok then, moa=caillon but please get peterv or jst to sign off on this patch.
Attachment #133178 - Flags: review?(caillon) → review?(peterv)
Attachment #133178 - Flags: review?(peterv) → review+
Fix checked in.
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
Assignee: dom-inspector → nobody
QA Contact: timeless → dom-inspector
You need to log in before you can comment on or make changes to this bug.