Closed
Bug 961380
Opened 11 years ago
Closed 11 years ago
Should be able to undo close tabs in private windows
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
RESOLVED
FIXED
Firefox 29
People
(Reporter: ttaubert, Assigned: ttaubert)
References
Details
(Keywords: regression)
Attachments
(1 file)
(deleted),
patch
|
Yoric
:
review+
phlsa
:
ui-review+
|
Details | Diff | Splinter Review |
Bug 899276 and bug 956826 removed the ability to restore tabs in private windows or permanent private browsing mode. We should revert that change, it makes sense to think of the whole private browsing window as a private session that is gone once the windows is closed.
As a private tab in a non-private window is a mini version of that private session I think it makes sense to not put it into the list of closed tabs and just discard it.
At the same time when closing a non-private window that contains private tabs we should remove all private tabs. Even if private tabs are unsupported I feel like we should make the right decision here to not expose private data by potentially careless add-ons.
Assignee | ||
Comment 1•11 years ago
|
||
Asking for UX to review the proposed changes as well.
Assignee: nobody → ttaubert
Status: NEW → ASSIGNED
Attachment #8362123 -
Flags: ui-review?(ux-review)
Attachment #8362123 -
Flags: review?(dteller)
Assignee | ||
Updated•11 years ago
|
Summary: Should be able to undo closing tabs in private windows → Should be able to undo close tabs in private windows
Assignee | ||
Comment 2•11 years ago
|
||
Try builds to test the behavior are here:
https://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/ttaubert@mozilla.com-537f9a78b95a/
Comment 3•11 years ago
|
||
Comment on attachment 8362123 [details] [diff] [review]
0001-Bug-961380-Should-be-able-to-undo-closing-tabs-in-pr.patch
Review of attachment 8362123 [details] [diff] [review]:
-----------------------------------------------------------------
Does what it is supposed to do, both with and without the add-on.
Attachment #8362123 -
Flags: ui-review?(ux-review) → ui-review+
Assignee | ||
Comment 4•11 years ago
|
||
Try looks good btw:
https://tbpl.mozilla.org/?tree=Try&rev=537f9a78b95a
Comment 5•11 years ago
|
||
Comment on attachment 8362123 [details] [diff] [review]
0001-Bug-961380-Should-be-able-to-undo-closing-tabs-in-pr.patch
Review of attachment 8362123 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thanks.
::: browser/components/sessionstore/src/PrivacyFilter.jsm
@@ +95,5 @@
> + * @param browserState (object)
> + * The browser state for which we remove any private windows and tabs.
> + * The given object will be modified.
> + */
> + filterPrivateWindowsAndTabs: function (browserState) {
Good idea.
Attachment #8362123 -
Flags: review?(dteller) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Comment 7•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Comment 8•11 years ago
|
||
Thank you, Tim!
You need to log in
before you can comment on or make changes to this bug.
Description
•