|
|
|
@ -216,7 +216,15 @@ class Core(
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
BrowserStore(
|
|
|
|
|
middleware = middlewareList + EngineMiddleware.create(engine)
|
|
|
|
|
middleware = middlewareList + EngineMiddleware.create(
|
|
|
|
|
engine,
|
|
|
|
|
// We are disabling automatic suspending of engine sessions under memory pressure
|
|
|
|
|
// in Nightly as a test. Instead we solely rely on GeckoView and the Android system
|
|
|
|
|
// to reclaim memory when needed.
|
|
|
|
|
// https://github.com/mozilla-mobile/fenix/issues/12731
|
|
|
|
|
// https://github.com/mozilla-mobile/android-components/issues/11300
|
|
|
|
|
trimMemoryAutomatically = Config.channel.isReleaseOrBeta
|
|
|
|
|
)
|
|
|
|
|
).apply {
|
|
|
|
|
// Install the "icons" WebExtension to automatically load icons for every visited website.
|
|
|
|
|
icons.install(engine, this)
|
|
|
|
|