Closed Bug 367164 Opened 18 years ago Closed 18 years ago

[FIX]DOMNodeInserted/DOMNodeRemoved listener checks use wrong node

Categories

(Core :: DOM: Events, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

(Keywords: dev-doc-complete)

Attachments

(2 files)

We should be looking for listeners on the kid, not the parent.
Attached patch FixSplinter Review
Attachment #251665 - Flags: superreview?(bugmail)
Attachment #251665 - Flags: review?(bugmail)
Attachment #251665 - Flags: superreview?(bugmail)
Attachment #251665 - Flags: superreview+
Attachment #251665 - Flags: review?(bugmail)
Attachment #251665 - Flags: review+
Fixed.
Status: NEW → RESOLVED
Closed: 18 years ago
Keywords: dev-doc-needed
Resolution: --- → FIXED
Testcase is not valid, because capturing listeners shouldn't fire on target (Bug 235441).
This appears to be a pretty straightforward bug fix in material that's not presently documented in a meaningful way anyway.  What sort of documentation is needed for this (I'm curious since the dev-doc-needed keyword is set)?
I've added a note of this bug fix to the Fx3 for developers page; tagging as doc-complete.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: