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)
Firefox
Session Restore
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)
4.34 KB,
patch
|
smacleod
:
review+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Updated•11 years ago
|
Flags: firefox-backlog+
Whiteboard: p=3 s=it-32c-31a-30b.2 [qa+]
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8421804 -
Flags: review?(smacleod)
Comment 2•11 years ago
|
||
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+
Assignee | ||
Comment 3•11 years ago
|
||
(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!
Assignee | ||
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 32
Updated•11 years ago
|
QA Contact: cornel.ionce
Comment 6•11 years ago
|
||
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.
Description
•