Closed
Bug 1845836
Opened 2 years ago
Closed 2 years ago
Include closed tabs from closed windows in firefoxview-next's recently closed tabs list
Categories
(Firefox :: Session Restore, enhancement, P3)
Firefox
Session Restore
Tracking
()
RESOLVED
FIXED
118 Branch
| Tracking | Status | |
|---|---|---|
| firefox118 | --- | fixed |
People
(Reporter: sfoster, Assigned: sfoster)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-firefox-view] )
Attachments
(1 file)
Rather than try to boil the whole ocean, I want to first tackle the smaller problem of getting the new recently-closed tabs listing in about:firefoxview-next including closed tabs from closed windows. This will be behind a new pref and will let me get some of the SessionStore implementation changes in place without simultaneously needing to update all the other history menus and their tests.
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
- Add a browser.sessionstore.closedTabsFromClosedWindows pref and consult it when building recently-closed tab lists in firefoxview-next
- Add a _resolveClosedDataSource to SessionStore which allows us to find the window state and _closedTabs given a DOMWindow, a window closedId, or a window session store Id.
- Carry window closedId and source window Id into tab items when building recently-closed tab lists in firefoxview-next. This gives us the necessary context when we need to undoClose or forget a tab item in the list.
- Add a getClosed TabCount and TabData for Closed Windows method to SessionStore
- Modify undoCloseTab and forgetClosedTab to accept source params we can resolve to window state data using _resolveClosedDataSource
Status
- The SessionStore API is still in flux. I want to avoid incompatible changes to existing methods allowing incremental development with callers continuing to work as before until I get to them
- Any closed tabs are lost if a window closes with 0 worth-keeping open tabs
Updated•2 years ago
|
Attachment #9346818 -
Attachment description: WIP: Bug 1845836 - Included closed tabs from closed windows in fxview-next's recently closed tabs list → Bug 1845836 - Include closed tabs from closed windows in fxview-next's recently closed tabs list. r?dao!,kcochrane
Pushed by sfoster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/faca0b32a214
Include closed tabs from closed windows in fxview-next's recently closed tabs list. r=kcochrane,dao,fxview-reviewers,sessionstore-reviewers,sclements
Comment 3•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox118:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•