Bug #36221 --> throbber never stops when loading a frameset doc.
I was signaling the stop notification via a OnchildStatus in this scenario. We should always signal the start and stop of documents as a status change even if a child is originating the change. git-svn-id: svn://10.0.0.236/trunk@66312 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
7fa4e4cdba
commit
6b14d19867
@ -545,11 +545,7 @@ void nsDocLoaderImpl::FireOnStartDocumentLoad(nsDocLoaderImpl* aLoadInitiator,
|
||||
if (mProgressListener)
|
||||
{
|
||||
mProgressStatusFlags = nsIWebProgress::flag_net_start;
|
||||
|
||||
if (aLoadInitiator == this)
|
||||
mProgressListener->OnStatusChange(mDocumentChannel, mProgressStatusFlags);
|
||||
else // the load must be initiated by a child...mscott: I'm passing the WRONG channel here! I need to add a get channel to the doc loader interface
|
||||
mProgressListener->OnChildStatusChange(mDocumentChannel, mProgressStatusFlags);
|
||||
mProgressListener->OnStatusChange(mDocumentChannel, mProgressStatusFlags);
|
||||
}
|
||||
|
||||
/*
|
||||
@ -615,11 +611,7 @@ void nsDocLoaderImpl::FireOnEndDocumentLoad(nsDocLoaderImpl* aLoadInitiator,
|
||||
if (mProgressListener)
|
||||
{
|
||||
mProgressStatusFlags = nsIWebProgress::flag_net_stop;
|
||||
|
||||
if (aLoadInitiator == this)
|
||||
mProgressListener->OnStatusChange(aDocChannel, mProgressStatusFlags);
|
||||
else // the load must be initiated by a child...mscott: I'm passing the WRONG channel here! I need to add a get channel to the doc loader interface
|
||||
mProgressListener->OnChildStatusChange(aDocChannel, mProgressStatusFlags);
|
||||
mProgressListener->OnStatusChange(aDocChannel, mProgressStatusFlags);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user