mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 830893 - Remember private state for zombified tabs. r=mfinkle
This commit is contained in:
parent
4299ee5ed3
commit
fb5b78f14b
@ -8049,9 +8049,10 @@ var MemoryObserver = {
|
||||
// If this browser is already a zombie, fallback to the session data
|
||||
let currentURL = browser.__SS_restore ? data.entries[0].url : browser.currentURI.spec;
|
||||
let sibling = browser.nextSibling;
|
||||
let isPrivate = PrivateBrowsingUtils.isWindowPrivate(browser.contentWindow);
|
||||
|
||||
tab.destroy();
|
||||
tab.create(currentURL, { sibling: sibling, zombifying: true, delayLoad: true });
|
||||
tab.create(currentURL, { sibling: sibling, zombifying: true, delayLoad: true, isPrivate: isPrivate });
|
||||
|
||||
// Reattach session store data and flag this browser so it is restored on select
|
||||
browser = tab.browser;
|
||||
|
Loading…
Reference in New Issue
Block a user