зеркало из https://github.com/mozilla/gecko-dev.git
Bug 627894 - Use the right URL when trying to zombie-ify a zombie tab [r=mbrubeck]
This commit is contained in:
Родитель
6bfe13841d
Коммит
798a667255
|
@ -2603,7 +2603,8 @@ Tab.prototype = {
|
|||
let session = { data: dead.__SS_data, extra: dead.__SS_extdata };
|
||||
|
||||
// We need this data to correctly create and position the new browser
|
||||
let currentURL = dead.currentURI.spec;
|
||||
// If this browser is already a zombie, fallback to the session data
|
||||
let currentURL = dead.__SS_restore ? session.data.entries[0].url : dead.currentURI.spec;
|
||||
let sibling = dead.nextSibling;
|
||||
|
||||
// Destory and re-create the browser
|
||||
|
|
Загрузка…
Ссылка в новой задаче