Re: Adding DOM Mutation listeners to different DOMs correspoding to each open tab in Firefox.
stony_dreams <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
Boris Zbarsky wrote:
>
> That's a question better asked in m.d.a.firefox, since it relies on the
> details
> of Firefox's tab-switching behavior....
>
Thanks for the help... Just one small question, if i call the following line
MULTIPLE TIMES for a current DOM:
content.document.addEventListener("DOMNodeInserted", domNodeInserted,
false);
And then I call the removeEventListener as follows:
content.document.removeEventListener("DOMNodeInserted", domNodeInserted,
false);
Then is there some proper ordering (For Eg: stack etc) in which the event
listeners are removed? Or is it random cuz I have the same handler added as
an event listener multiple times for a particular event?
Thanks in advance...
--
View this message in context: http://www.nabble.com/Adding-DOM-Mutation-listeners-to-different-DOMs-correspoding-to-each-open-tab-in-Firefox.-tp15091955p15092982.html
Sent from the Mozilla - DOM mailing list archive at Nabble.com.