Closed Bug 1687523 Opened 5 years ago Closed 5 years ago

Empty SessionState when killing App while loading page

Categories

(GeckoView :: General, defect, P1)

Unspecified
All
defect

Tracking

(firefox86 fixed)

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: agi, Assigned: droeh)

Details

(Whiteboard: [geckoview:m87])

Attachments

(1 file)

From https://github.com/mozilla-mobile/fenix/issues/16259#issuecomment-721414841

Looks like sometimes we send an empty SessionState to apps when the app gets killed in the middle of a page load.

Assignee: nobody → droeh
Status: NEW → ASSIGNED

I confirmed we can get "empty" (no history) state from the initial about:blank load, so I'm guessing that's what was happening here. The patch just doesn't call onSessionStateChange unless we actually have history (and therefore a state we can actually restore).

Severity: -- → S3
Priority: -- → P1
Whiteboard: [geckoview:m87]
Pushed by droeh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dfca58fb6cb1 Do not call onSessionStateChange if session state is null or contains no history. r=geckoview-reviewers,agi
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: