Bug 1617750 - Lazy load hidden window for GeckoView. r=geckoview-reviewers,snorp

GeckoView doesn't need the hidden window loaded eagerly on startup. This
shaves off around ~100ms timing from XRE_main to DOMContentLoaded of
geckoview.xhtml.

Differential Revision: https://phabricator.services.mozilla.com/D63977

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Brendan Dahl 2020-02-25 14:34:54 +00:00
Родитель 115578eb55
Коммит 8fee24d297
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -25,6 +25,8 @@ pref("dom.ipc.processPrelaunch.enabled", false);
pref("toolkit.telemetry.isGeckoViewMode", true);
// Disable the Telemetry Event Ping
pref("toolkit.telemetry.eventping.enabled", false);
// Don't create the hidden window during startup.
pref("toolkit.lazyHiddenWindow", true);
pref("geckoview.console.enabled", false);