зеркало из https://github.com/mozilla/pjs.git
Bail out of loads if were going away. Bug 369126, r+sr=jst
This commit is contained in:
Родитель
901c013f4e
Коммит
28af3c043b
|
@ -6257,6 +6257,8 @@ nsDocShell::InternalLoad(nsIURI * aURI,
|
|||
|
||||
NS_ENSURE_TRUE(IsValidLoadType(aLoadType), NS_ERROR_INVALID_ARG);
|
||||
|
||||
NS_ENSURE_TRUE(!mIsBeingDestroyed, NS_ERROR_NOT_AVAILABLE);
|
||||
|
||||
// wyciwyg urls can only be loaded through history. Any normal load of
|
||||
// wyciwyg through docshell is illegal. Disallow such loads.
|
||||
if (aLoadType & LOAD_CMD_NORMAL) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче