Closed Bug 2074358 Opened 2 months ago Closed 2 months ago

Remove the unused isRemotenessUpdate flag from tab restore

Categories

(Firefox :: Session Restore, task)

task

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: dao, Assigned: dao)

References

(Blocks 2 open bugs)

Details

Attachments

(1 external file)

SessionStore threads an isRemotenessUpdate option through #restoreTab, #restoreTabContent and #sendRestoreHistory, and #sendTabRestoredNotification puts it on the SSTabRestored event's detail. No caller has passed it since bug 1886892 removed the non-SHIP path, so it always reads undefined: the focus check in #restoreTabContent never skips, and StartupPerformance's SSTabRestored listener counts every restore.

Remove the plumbing and the detail object, and drop the check in StartupPerformance. Noticed while documenting the events in bug 2066123.

No longer blocks: 2066123
Depends on: 2066123
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/433fb36fac42 https://hg.mozilla.org/integration/autoland/rev/6eaed252a298 Remove the unused isRemotenessUpdate flag from tab restore. r=sthompson,sessionstore-reviewers
Blocks: 2075150
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
See Also: → sessionstore-docs
See Also: sessionstore-docs →
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: