Roy wrote:
If you switch to tabB while tabA is busy loading a page...
1) the JavaScript progress listener receives a STATE_STOP flag
immediately (tabA is not done loading the page, and tabB is not loading
a page)
2) the window pointer that you retrieve with
nsIWebProgress::GetDOMWindow (pDOMWindow in the code below) is for tabB
(NOT tabA) but the navigation wasn't occurring in tabB
Is this to be expected?
Given the code in browser.js in onUpdateCurrentBrowser(), sadly yes.
Then again, that code looks buggy to me. ;)
-Boris
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom