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:
radha%netscape.com 1999-04-13 00:19:48 +00:00
parent 5754c8f03b
commit 3b826070cf
2 changed files with 6 additions and 2 deletions

View File

@ -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;

View File

@ -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;