Re: Load XML from content

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
Neil Deakin wrote:
> That's the technique I've been using currently. What will leak? 
> Something to do with the event listener?

If the event listener holds a strong ref to the doc, you have a cycle. 
Unfortunately, I'm not sure the onload event always fires (e.g. if the user hits 
the stop button on a pageload onload does not fire).  So it's not clear when to 
break the cycle...

-Boris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.