#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:
@@ -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;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user