Open Bug 2089794 Opened 22 days ago Updated 2 days ago

A failed deferred session prep restores every window and keeps stale removeAfterRestore flags

Categories

(Firefox :: Session Restore, defect, P2)

defect

Tracking

()

People

(Reporter: mhynson, Assigned: mhynson)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-session-restore])

When #prepDataForDeferredRestore throws, #initSession still returns the full original state. Every window is restored even though automatic restore is off, and LastSession.setState is skipped, so "Restore Previous Session" is unavailable.

The catch added by D338378 keeps the original state.savedGroups. #prepDataForDeferredRestore only clears removeAfterRestore on its own copy, so saved groups can keep stale flags. A later restoreLastSession then deletes them.

Assignee: nobody → mhynson

On failure, should LastSession still get the original state so the user can restore by hand?

See Also: → 2089797
Whiteboard: [fidefe-session-restore]
See Also: → 2092154
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.