зеркало из https://github.com/mozilla/gecko-dev.git
Bug 256349 - Startup() in browser.js assumes window.opener is still around
r=mconnor a=asa
This commit is contained in:
Родитель
3e3856aeef
Коммит
d32587e6fe
|
@ -269,7 +269,7 @@ function Startup()
|
|||
#endif
|
||||
|
||||
var sidebarSplitter;
|
||||
if (window.opener) {
|
||||
if (window.opener && !window.opener.closed) {
|
||||
var openerSidebarBox = window.opener.document.getElementById("sidebar-box");
|
||||
// The opener can be the hidden window too, if we're coming from the state
|
||||
// where no windows are open, and the hidden window has no sidebar box.
|
||||
|
|
Загрузка…
Ссылка в новой задаче