Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha
git-svn-id: svn://10.0.0.236/trunk@79623 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -391,7 +391,7 @@ void CBrowserShell::LoadURL(Ptr urlText, SInt32 urlTextLen)
|
||||
|
||||
void CBrowserShell::LoadURL(const nsString& urlText)
|
||||
{
|
||||
nsresult rv = mWebBrowserAsWebNav->LoadURI(urlText.GetUnicode());
|
||||
nsresult rv = mWebBrowserAsWebNav->LoadURI(urlText.GetUnicode(), nsIWebNavigation::LOAD_FLAGS_NONE);
|
||||
if (NS_FAILED(rv))
|
||||
Throw_(NS_ERROR_GET_CODE(rv));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user