#99666 page is displayed as blank in certain situation

r=harishd, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@103407 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
shanjian%netscape.com
2001-09-21 02:38:37 +00:00
parent e026314a27
commit 468203fe10
3 changed files with 17 additions and 5 deletions

View File

@@ -589,7 +589,8 @@ nsWebShell::ReloadDocument(const char* aCharset,
}
}
}
return NS_OK;
//return failer if this request is not accepted due to mCharsetReloadState
return NS_ERROR_WEBSHELL_REQUEST_REJECTED;
}
@@ -598,9 +599,11 @@ nsWebShell::StopDocumentLoad(void)
{
if(eCharsetReloadRequested != mCharsetReloadState)
{
Stop(nsIWebNavigation::STOP_ALL);
Stop(nsIWebNavigation::STOP_ALL);
return NS_OK;
}
return NS_OK;
//return failer if this request is not accepted due to mCharsetReloadState
return NS_ERROR_WEBSHELL_REQUEST_REJECTED;
}
NS_IMETHODIMP
@@ -610,9 +613,11 @@ nsWebShell::SetRendering(PRBool aRender)
{
if (mContentViewer) {
mContentViewer->SetEnableRendering(aRender);
return NS_OK;
}
}
return NS_OK;
//return failer if this request is not accepted due to mCharsetReloadState
return NS_ERROR_WEBSHELL_REQUEST_REJECTED;
}
//----------------------------------------------------------------------