Closed
Bug 500315
Opened 16 years ago
Closed 16 years ago
Session restore not working when last tab was blank
Categories
(Firefox :: Session Restore, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 495123
People
(Reporter: jara.karel, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/531.0 (KHTML, like Gecko) Chrome/3.0.190.1 Safari/531.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; cs; rv:1.9.1) Gecko/20090616 Firefox/3.5
The session restore doesn’t work properly if the last tab when you closed Firefox was an empty (about:blank) tab. It means every tab was closed before closing Firefox and the browser.tabs.closeWindowWithLastTab is set to false.
Reproducible: Always
Steps to Reproduce:
1. Close all tabs in last Firefox’s window (when browser.tabs.closeWindowWithLastTab is set to false) so there is the about:blank last tab
2. Close Firefox
3. Open Firefox
Actual Results:
There is a session restore error telling you that there is a problem with restoring the last session, or the session is restored with the last but one tab which was open before closing all tabs and the Firefox window.
Expected Results:
The session should be restored properly: One blank tab and history of tabs closed before.
Comment 1•16 years ago
|
||
Looks like a side effect of bug 490040. Perhaps we should check that pref when checking if a window is eligible for restoration at http://mxr.mozilla.org/mozilla-central/source/browser/components/sessionstore/src/nsSessionStore.js#649
Comment 2•16 years ago
|
||
DUPE of bug 495123?
Updated•16 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•