зеркало из https://github.com/mozilla/pjs.git
Fix bustage.
This commit is contained in:
Родитель
76cde0c24a
Коммит
f2a9aa675b
|
@ -6627,7 +6627,9 @@ nsWindowSH::NewResolve(nsIXPConnectWrappedNative *wrapper, JSContext *cx,
|
|||
// above, we have to ensure here that our window has a current
|
||||
// inner window so that the location object we return will work.
|
||||
|
||||
win->EnsureInnerWindow();
|
||||
if (win->IsOuterWindow()) {
|
||||
win->EnsureInnerWindow();
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIDOMLocation> location;
|
||||
rv = win->GetLocation(getter_AddRefs(location));
|
||||
|
|
Загрузка…
Ссылка в новой задаче