Open Bug 612159 Opened 14 years ago Updated 2 years ago

Switch to passing nsINode containers in nsIMutationObserver methods

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

People

(Reporter: ehsan.akhgari, Unassigned)

Details

The container we pass to nsIMutationObserver methods can either be a document or a content node.  We currently pass an nsIContent pointer to such methods, which makes the kind of dance in attachment 490417 [details] [diff] [review] necessary (because aContainer will be null if the container is a document).

The saner approach would be to pass an nsINode pointer to these methods.

Boris, is nsIMutationObserver a public interface which we can't change before we branch?
OS: Mac OS X → All
Hardware: x86 → All
Yes.  I also think this shoudn't be happening before 2.0, since I suspect the patch will be somewhat large.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.