Closed
Bug 2088936
Opened 1 month ago
Closed 29 days ago
`ClosedTabStateData` mistypes `sourceWindowId` and misdescribes `sourceClosedId`
Categories
(Firefox :: Session Restore, task)
Firefox
Session Restore
Tracking
()
RESOLVED
FIXED
162 Branch
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
ClosedTabStateData in TabState.sys.mjs disagrees with the state it describes:
sourceWindowIdis typedWindowID, but the closed tabs of a closed window get that window's integerclosedIdfrom#resetClosedTabIdswhen closed windows are loaded.session.schema.jsontypes it as an integer or a string since bug 1991409.sourceClosedIdis documented as set once the tab's window has closed. It is only set on the copiesgetClosedTabDataFromClosedWindowshands to callers, never on stored state.
| Assignee | ||
Comment 1•1 month ago
|
||
Updated•1 month ago
|
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/26d7dcaa2871
https://hg.mozilla.org/integration/autoland/rev/e845859356ed
Fix the sourceWindowId type and the sourceClosedId description in ClosedTabStateData. r=sfoster,sessionstore-reviewers
Comment 3•29 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 29 days ago
status-firefox162:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
Updated•9 days ago
|
QA Whiteboard: [qa-triage-done-c163/b162]
You need to log in
before you can comment on or make changes to this bug.
Description
•