Closed Bug 2077436 Opened 2 months ago Closed 1 month ago

Type the restore options in SessionStore.sys.mjs

Categories

(Firefox :: Session Restore, task)

task

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: dao, Assigned: dao)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

The options #restoreWindow takes are documented as aOptions.overwriteTabs and aOptions.firstWindow rows, so TypeScript rejects the restoreSource and trigger options bug 2070404 added: five call sites pass them and one reads restoreSource. Name the options bag as a typedef that declares all four, as the public methods' option bags were in bug 2069784.

Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/555b94a5214e https://hg.mozilla.org/integration/autoland/rev/ec0acf1fdda6 Type the restore options in SessionStore.sys.mjs. r=sfoster,sessionstore-reviewers
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
QA Whiteboard: [qa-triage-done-c160/b159]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: