зеркало из https://github.com/mozilla/gecko-dev.git
the failure to load a uri is not a failure to create a docshell bug 283147 r/sr=bzbarsky
This commit is contained in:
Родитель
2b603329ef
Коммит
7b2dd1a316
|
@ -613,8 +613,10 @@ nsSubDocumentFrame::GetDocShell(nsIDocShell **aDocShell)
|
||||||
mOwnsFrameLoader = PR_TRUE;
|
mOwnsFrameLoader = PR_TRUE;
|
||||||
|
|
||||||
// ... and tell it to start loading.
|
// ... and tell it to start loading.
|
||||||
nsresult rv = mFrameLoader->LoadFrame();
|
// the failure to load a URL does not constitute failure to
|
||||||
NS_ENSURE_SUCCESS(rv, rv);
|
// create/initialize the docshell and therefore the LoadFrame()
|
||||||
|
// call's return value should not be propagated.
|
||||||
|
mFrameLoader->LoadFrame();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче