How to add a listener on a nsIWebBrowserStream

Manuel TARANTINI <[email protected]> Fri, 21 Dec 2007 09:52:00 +0100
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <jsWdnclXpJoB4_banZ2dnUVZ_jmdnZ2d__43499.1801543676$1198227354$gmane$org@mozilla.org>
Hello,

I'm developping an SWT software with the Browser Widget. The soft is use 
to render some XML files loaded in memory.

I'm using the nsIWebBrowserStream interface but I have a huge problem. I 
cannot add any listeners to know when the stream has been complete load
to access to the DOM.

Is there any way to synchronize the closeStream method with the DOM ?


Thx!