Open Bug 1837716 Opened 2 years ago Updated 2 years ago

Setting configFilePath causes initial tab process reuse to fail.

Categories

(GeckoView :: General, defect, P3)

Firefox 114
All
Android
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: yjbrowserjyt, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.37

Steps to reproduce:

Initializing GeckoRuntime will create a tab process which will be reused in subsequent createsession calls, resulting in only one tab process.

However, if GeckoRuntimeSettings is set with a configFilePath,
runtimeSettingsBuilder
.configFilePath(crxTemp)
this reuse mechanism will be disabled, and createsession will result in two tab processes. The unused tab process will become memory garbage. Please provide a method to prevent automatic generation of a preloaded tab process, or fix this problem.

Actual results:

This creates additional tab processes which waste memory.

Expected results:

After setting configFilePath, the generated tab processes should also be reusable.

The severity field is not set for this bug.
:owlish, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(bugzeeeeee)
Severity: -- → S2
Flags: needinfo?(bugzeeeeee)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.