Closed
Bug 459651
Opened 16 years ago
Closed 16 years ago
about:sessionrestore shouldn't list about:sessionrestore as single tab to restore
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
VERIFIED
FIXED
Firefox 3.1b2
People
(Reporter: ted, Assigned: zeniko)
References
Details
Attachments
(2 files, 1 obsolete file)
(deleted),
image/png
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review |
If you crash, then restart Firefox and get the about:sessionrestore page, then wait a minute, and crash again, you can get about:sessionrestore to list about:sessionrestore as your tab from the previous session. Restoring this session brings up about:sessionrestore showing your tabs from two sessions ago. This is pretty confusing. We should just skip that step in the middle and offer to restore the original set of tabs.
Assignee | ||
Comment 1•16 years ago
|
||
While we could unwrap crash states containing only about:sessionrestore, I'm not sure what to do when you open a new tab before crashing again. What would you expect in that case?
Reporter | ||
Comment 2•16 years ago
|
||
I think if the user opens any other tabs or windows, then restoring the about:sessionrestore tab is a sane behavior. If there's only one tab in the session, however, and it contains about:sessionrestore, we should just get back to the original restore page.
Assignee | ||
Comment 3•16 years ago
|
||
Attachment #342909 -
Flags: review?(dietrich)
Comment 4•16 years ago
|
||
Comment on attachment 342909 [details] [diff] [review]
don't wrap a single about:sessionrestore page
r=me. can you tuck all the "should restore?" determination code in a separate method?
Attachment #342909 -
Flags: review?(dietrich) → review+
Assignee | ||
Comment 5•16 years ago
|
||
Assignee: nobody → zeniko
Attachment #342909 -
Attachment is obsolete: true
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Comment 6•16 years ago
|
||
Comment on attachment 342923 [details] [diff] [review]
for check-in
[Checkin: Comment 6]
http://hg.mozilla.org/mozilla-central/rev/3f4d21c3af97
Attachment #342923 -
Attachment description: for check-in → for check-in
[Checkin: Comment 6]
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: in-testsuite-
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.1b2
Comment 7•16 years ago
|
||
Sorry, but this still happens with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b2pre) Gecko/20081017 Minefield/3.1b2pre ID:20081017020232
I can reproduce it by open about:sessionrestore and crashing the browser (e.g. by the use of the crash me extension). After the restart about:sessionrestore lists itself to be restored.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 8•16 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081017 Minefield/3.1b2pre
This is fixed as expected. Note that you're still able to get about:sessionrestore listing itself when you had _other_ tabs or windows opened besides about:sessionrestore at the moment of the crash (cf. comment #2).
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Summary: possible to wind up with about:sessionrestore listing about:sessionrestore as your session to restore → about:sessionrestore shouldn't list about:sessionrestore as single tab to restore
Comment 9•16 years ago
|
||
I can verify this fixed if I follow a different set of STR than Henrik does in Comment 7. If I crash the browser x2 and actually generate the about:sessionrestore page on its own and then crash again, when the browser restarts I do not see the about:sessionrestore listing listing that page. I am not sure if Henrik sees it because he explicitly entered it into the URL bar versus having it auto generated because of a crash.
Status: RESOLVED → VERIFIED
Comment 10•16 years ago
|
||
Seems that this was the reason. I can't see it anymore.
You need to log in
before you can comment on or make changes to this bug.
Description
•