On 3/4/10 1:19 PM, Jeeva wrote:
In cases where a top level document has iframes, I want to be notified
only after all the iframes are loaded. that way, when I get the DOM, I
get everything.
I have the following in "IWebProgressListener::onStateChange()", but
that seems to be called for each frame.
if(((stateFlags& nsIWebProgressListener.STATE_STOP ) )
&& ((stateFlags&
nsIWebProgressListener.STATE_IS_NETWORK ) ) )
{
}
You need to check which nsIWebProgress the notification is for.
-Boris
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding