Bug 827976 - Create the hidden window after first paint, but before session restore. r=mconley

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Felipe Gomes 2019-03-01 21:05:04 +00:00
Родитель 970e70533a
Коммит 6686586c56
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -1516,6 +1516,10 @@ var gBrowserInit = {
this._cancelDelayedStartup();
// Bug 1531854 - The hidden window is force-created here
// until all of its dependencies are handled.
Services.appShell.hiddenDOMWindow;
// We need to set the OfflineApps message listeners up before we
// load homepages, which might need them.
OfflineApps.init();