We have some XUL that listens for the STATE_STOP transition of
nsIWebProgressListener::OnStateChange and then passes the input
(nsIWebProgress, nsIRequest) to an XPCOM component. The component then
retrieves an nsIDOMWindow from the nsIWebProgress pointer. This works
fine when Firefox 1.5.0.4 is hosting a single tab.
If 2 tabs are open (tabA and tabB), and you start a request in tabA, and
then you click on tabB before STATE_STOP is realized for the tabA request...
1) STATE_STOP occurs immediately, even though tabA is not done navigating
2) the nsIRequest* is NULL
3) the window pointer that you retrieve with
nsIWebProgress::GetDOMWindow is for tabB - NOT tabA
Is this to be expected?
Thanks,
Roy
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom