M9 BRANCH landing...
git-svn-id: svn://10.0.0.236/trunk@44701 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2052,7 +2052,7 @@ nsWebShell::DoLoadURL(const nsString& aUrlSpec,
|
||||
// Pass notifications to BrowserAppCore just to be consistent with
|
||||
// regular page loads thro' necko
|
||||
nsCOMPtr<nsIChannel> dummyChannel;
|
||||
rv = NS_OpenURI(getter_AddRefs(dummyChannel), url);
|
||||
rv = NS_OpenURI(getter_AddRefs(dummyChannel), url, nsnull);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
mProcessedEndDocumentLoad = PR_FALSE;
|
||||
@@ -2080,7 +2080,7 @@ nsWebShell::DoLoadURL(const nsString& aUrlSpec,
|
||||
// Pass notifications to BrowserAppCore just to be consistent with
|
||||
// regular necko loads.
|
||||
nsCOMPtr<nsIChannel> dummyChannel;
|
||||
rv = NS_OpenURI(getter_AddRefs(dummyChannel), url);
|
||||
rv = NS_OpenURI(getter_AddRefs(dummyChannel), url, nsnull);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
mProcessedEndDocumentLoad = PR_FALSE;
|
||||
|
||||
@@ -3228,7 +3228,8 @@ nsWebShell::OnEndDocumentLoad(nsIDocumentLoader* loader,
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
#endif
|
||||
|
||||
if (!mProcessedEndDocumentLoad) {
|
||||
//if (!mProcessedEndDocumentLoad) {
|
||||
if (loader == mDocLoader) {
|
||||
mProcessedEndDocumentLoad = PR_TRUE;
|
||||
|
||||
if (nsnull != mScriptGlobal) {
|
||||
|
||||
Reference in New Issue
Block a user