Commit b19e214f authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

fixup! TB 27476: Implement about:torconnect captive portal within Tor Browser

TB 44828: Change the registry for about:torconnect's actor.
parent d023a32c
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -783,6 +783,20 @@ let JSWINDOWACTORS = {
    allFrames: true,
  },

  TorConnect: {
    parent: {
      esModuleURI: "resource:///actors/TorConnectParent.sys.mjs",
    },
    child: {
      esModuleURI: "resource:///actors/TorConnectChild.sys.mjs",
      events: {
        DOMWindowCreated: {},
      },
    },

    matches: ["about:torconnect", "about:torconnect?*"],
  },

  UITour: {
    parent: {
      esModuleURI: "moz-src:///browser/components/uitour/UITourParent.sys.mjs",
+0 −14
Original line number Diff line number Diff line
@@ -567,20 +567,6 @@ let JSWINDOWACTORS = {
    messageManagerGroups: ["browsers"],
  },

  TorConnect: {
    parent: {
      esModuleURI: "resource:///actors/TorConnectParent.sys.mjs",
    },
    child: {
      esModuleURI: "resource:///actors/TorConnectChild.sys.mjs",
      events: {
        DOMWindowCreated: {},
      },
    },

    matches: ["about:torconnect", "about:torconnect?*"],
  },

  // This actor is available for all pages that one can
  // view the source of, however it won't be created until a
  // request to view the source is made via the message