Commit ece46167 authored by Olli Pettay's avatar Olli Pettay
Browse files

Bug 1727829 - Consider to not initialize AboutReaderChild actor for initial...

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
parent de3dc20d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -307,7 +307,9 @@ let JSWINDOWACTORS = {
      events: {
        DOMContentLoaded: {},
        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"],