Closed Bug 1009599 Opened 11 years ago Closed 11 years ago

Restoring from about:sessionrestore fails when there is more than one tab in the window

Categories

(Firefox :: Session Restore, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 32

People

(Reporter: ttaubert, Assigned: ttaubert)

References

Details

(Keywords: regression, Whiteboard: p=3 s=it-32c-31a-30b.2 [qa!])

Attachments

(1 file)

When there is more than one tab in the current window, clicking the "Restore" button on about:sessionrestore opens a new window and restores the session into that. This broke with bug 1002843, we should fix that asap.
Flags: firefox-backlog+
Whiteboard: p=3 s=it-32c-31a-30b.2 [qa+]
Comment on attachment 8421804 [details] [diff] [review] 0001-Bug-1009599-Restoring-from-about-sessionrestore-fail.patch Review of attachment 8421804 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/components/sessionstore/test/browser_aboutSessionRestore.js @@ +2,5 @@ > + http://creativecommons.org/publicdomain/zero/1.0/ */ > + > +"use strict"; > + > +const CRASH_STATE = {windows: [{tabs: [{entries: [{url: "about:mozilla" }]}]}]}; I don't really like these one line states, they put me in bracket hell. I'd much prefer we just use multiple lines and indentation to call out the structure more clearly.
Attachment #8421804 - Flags: review?(smacleod) → review+
(In reply to Steven MacLeod [:smacleod] from comment #2) > > +const CRASH_STATE = {windows: [{tabs: [{entries: [{url: "about:mozilla" }]}]}]}; > > I don't really like these one line states, they put me in bracket hell. I'd > much prefer we just use multiple lines and indentation to call out the > structure more clearly. Can do!
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 32
QA Contact: cornel.ionce
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0 Mozilla/5.0 (Windows NT 6.2; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:30.0) Gecko/20100101 Firefox/32.0 Mozilla/5.0 (X11; Linux i686; rv:32.0) Gecko/20100101 Firefox/32.0 The session is restored into the same window, without generating a new one using latest Nightly, build ID: 20140515030202 if more than one tab in the current window.
Status: RESOLVED → VERIFIED
Whiteboard: p=3 s=it-32c-31a-30b.2 [qa+] → p=3 s=it-32c-31a-30b.2 [qa!]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: