Closed
Bug 1687523
Opened 5 years ago
Closed 5 years ago
Empty SessionState when killing App while loading page
Categories
(GeckoView :: General, defect, P1)
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.
| Reporter | ||
Comment 1•5 years ago
|
||
AC implemented this workaround https://github.com/mozilla-mobile/android-components/pull/9446#discussion_r560230841
| Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Assignee: nobody → droeh
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•5 years ago
|
||
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).
| Reporter | ||
Updated•5 years ago
|
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
Comment 5•5 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox86:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•