Closed Bug 1781292 Opened 2 years ago Closed 2 years ago

Possible TypeError in SessionStore initSession

Categories

(Firefox :: Session Restore, defect)

Firefox 104
defect

Tracking

()

RESOLVED FIXED
105 Branch
Tracking Status
firefox105 --- fixed

People

(Reporter: pyjacpp, Assigned: pyjacpp)

References

Details

Attachments

(1 file)

In D145112 we wrote:

state.windows.forEach(win => delete win._maybeDontRestoreTabs);
state._closedWindows.forEach(win => delete win._maybeDontRestoreTabs);

But state, or state.windows or state._closedWindows could be null and this could lead to some TypeError.

Fix possible null state, state.windows or state._closedWindows.

Assignee: nobody → pyjacpp
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/a9108f838a7f
Fix possible TypeError in SessionStore#initSession. r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: