Fix for bug 4668. Make sure that all children documents have finished loading
before calling OnEndDocumentLoading. git-svn-id: svn://10.0.0.236/trunk@27251 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5754c8f03b
commit
3b826070cf
@ -1430,7 +1430,9 @@ void nsDocLoaderImpl::LoadURLComplete(nsIURL* aURL, nsISupports* aBindInfo, PRIn
|
||||
/*
|
||||
* Fire the OnEndDocumentLoad notification to any observers...
|
||||
*/
|
||||
if ((PR_FALSE != bIsForegroundURL) && (0 == mForegroundURLs)) {
|
||||
IsBusy(bIsBusy);
|
||||
|
||||
if ((PR_FALSE != bIsForegroundURL) && (!bIsBusy)) {
|
||||
#if defined(DEBUG)
|
||||
const char* buffer;
|
||||
|
||||
|
||||
@ -1430,7 +1430,9 @@ void nsDocLoaderImpl::LoadURLComplete(nsIURL* aURL, nsISupports* aBindInfo, PRIn
|
||||
/*
|
||||
* Fire the OnEndDocumentLoad notification to any observers...
|
||||
*/
|
||||
if ((PR_FALSE != bIsForegroundURL) && (0 == mForegroundURLs)) {
|
||||
IsBusy(bIsBusy);
|
||||
|
||||
if ((PR_FALSE != bIsForegroundURL) && (!bIsBusy)) {
|
||||
#if defined(DEBUG)
|
||||
const char* buffer;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user