Closed Bug 1752628 Opened 4 years ago Closed 3 years ago

Verify that AC doesn't accidentally unload tabs

Categories

(GeckoView :: General, task, P2)

Unspecified
All
task

Tracking

(firefox105 unaffected, firefox106 unaffected, firefox107 unaffected)

RESOLVED FIXED
Tracking Status
firefox105 --- unaffected
firefox106 --- unaffected
firefox107 --- unaffected

People

(Reporter: owlish, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [geckoview:2022h2?])

One of the possible reasons for the tab reloading issue is a potential bug in AC that causes undesired tab unloads. We need to make sure that doesn't happen.

In Fenix, trim on memory pressure is disabled on Nightly: https://github.com/mozilla-mobile/fenix/blob/main/app/src/main/java/org/mozilla/fenix/components/Core.kt#L227

You can also look at all references to the LowMemoryAction to verify as well.

Another place to look is to check the SuspendEngineSessionAction - how it's used for tab reloads or closes and when does that happen.

Severity: -- → S3
Priority: -- → P2
Whiteboard: [geckoview:2022h2?]

I've verified that A-C and Fenix do not unload tabs / close sessions, unless onCrash and onKill are called on the content delegate. At that point, it doesn't matter. Fenix is no longer closing sessions under memory pressure. I think we can close this.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.