зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1727829 - Consider to not initialize AboutReaderChild actor for initial about:blank documents when pagehide fires, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D123827
This commit is contained in:
Родитель
074f1e8220
Коммит
17c700658b
|
@ -307,7 +307,9 @@ let JSWINDOWACTORS = {
|
||||||
events: {
|
events: {
|
||||||
DOMContentLoaded: {},
|
DOMContentLoaded: {},
|
||||||
pageshow: { mozSystemGroup: true },
|
pageshow: { mozSystemGroup: true },
|
||||||
pagehide: { mozSystemGroup: true },
|
// Don't try to create the actor if only the pagehide event fires.
|
||||||
|
// This can happen with the initial about:blank documents.
|
||||||
|
pagehide: { mozSystemGroup: true, createActor: false },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
messageManagerGroups: ["browsers"],
|
messageManagerGroups: ["browsers"],
|
||||||
|
|
Загрузка…
Ссылка в новой задаче