Commit c4d65c5d authored by Fred Chasen's avatar Fred Chasen Committed by fchasen@mozilla.com
Browse files

Bug 1964835 - Part 1: Remove shopping actors and globals....

Bug 1964835 - Part 1: Remove shopping actors and globals. r=shopping-reviewers,frontend-codestyle-reviewers,kpatenio

Differential Revision: https://phabricator.services.mozilla.com/D248147
parent ba0cb760
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -619,8 +619,6 @@ var gBrowserInit = {

    CaptivePortalWatcher.delayedStartup();

    ShoppingSidebarManager.ensureInitialized();

    SessionStore.promiseAllWindowsRestored.then(() => {
      this._schedulePerWindowIdleTasks();
      document.documentElement.setAttribute("sessionrestored", "true");
+0 −1
Original line number Diff line number Diff line
@@ -29,7 +29,6 @@
  Services.scriptloader.loadSubScript("chrome://browser/content/places/places-menupopup.js", this);
  Services.scriptloader.loadSubScript("chrome://browser/content/search/autocomplete-popup.js", this);
  Services.scriptloader.loadSubScript("chrome://browser/content/search/searchbar.js", this);
  Services.scriptloader.loadSubScript("chrome://browser/content/shopping/shopping-sidebar.js", this);
}

window.onload = gBrowserInit.onLoad.bind(gBrowserInit);
+0 −6
Original line number Diff line number Diff line
@@ -82,8 +82,6 @@ ChromeUtils.defineESModuleGetters(this, {
  SessionStartup: "resource:///modules/sessionstore/SessionStartup.sys.mjs",
  SessionStore: "resource:///modules/sessionstore/SessionStore.sys.mjs",
  SharingUtils: "resource:///modules/SharingUtils.sys.mjs",
  ShoppingSidebarParent: "resource:///actors/ShoppingSidebarParent.sys.mjs",
  ShoppingSidebarManager: "resource:///actors/ShoppingSidebarParent.sys.mjs",
  ShortcutUtils: "resource://gre/modules/ShortcutUtils.sys.mjs",
  SiteDataManager: "resource:///modules/SiteDataManager.sys.mjs",
  SitePermissions: "resource:///modules/SitePermissions.sys.mjs",
@@ -2917,10 +2915,6 @@ var TabsProgressListener = {
      return;
    }

    // Some shops use pushState to move between individual products, so
    // the shopping code needs to be told about all of these.
    ShoppingSidebarManager.onLocationChange(aBrowser, aLocationURI, aFlags);

    // Filter out location changes caused by anchor navigation
    // or history.push/pop/replaceState.
    if (aFlags & Ci.nsIWebProgressListener.LOCATION_CHANGE_SAME_DOCUMENT) {
+0 −2
Original line number Diff line number Diff line
@@ -140,8 +140,6 @@
  "SessionStartup",
  "SessionStore",
  "SharingUtils",
  "ShoppingSidebarParent",
  "ShoppingSidebarManager",
  "ShortcutUtils",
  "SiteDataManager",
  "SitePermissions",
+0 −2
Original line number Diff line number Diff line
@@ -62,7 +62,6 @@ category browser-idle-startup moz-src:///browser/components/tabbrowser/TabUnload
category browser-idle-startup resource:///modules/GenAI.sys.mjs GenAI.init
category browser-idle-startup resource:///modules/QuickSuggest.sys.mjs QuickSuggest.init
category browser-idle-startup resource:///modules/UrlbarSearchTermsPersistence.sys.mjs UrlbarSearchTermsPersistence.init
category browser-idle-startup resource:///modules/ShoppingUtils.sys.mjs ShoppingUtils.init
category browser-idle-startup moz-src:///browser/components/search/SERPCategorization.sys.mjs SERPCategorization.init
category browser-idle-startup resource://gre/modules/ContentRelevancyManager.sys.mjs ContentRelevancyManager.init
category browser-idle-startup resource://gre/modules/ColorwayThemeMigration.sys.mjs ColorwayThemeMigration.maybeWarn
@@ -89,7 +88,6 @@ category browser-quit-application-granted resource://gre/modules/PageThumbs.sys.
category browser-quit-application-granted resource://gre/modules/NewTabUtils.sys.mjs NewTabUtils.uninit
category browser-quit-application-granted resource://normandy/Normandy.sys.mjs Normandy.uninit
category browser-quit-application-granted resource://gre/modules/RFPHelper.sys.mjs RFPHelper.uninit
category browser-quit-application-granted resource:///modules/ShoppingUtils.sys.mjs ShoppingUtils.uninit
category browser-quit-application-granted resource:///modules/asrouter/ASRouterNewTabHook.sys.mjs ASRouterNewTabHook.destroy
category browser-quit-application-granted moz-src:///browser/components/search/SERPCategorization.sys.mjs SERPCategorization.uninit
category browser-quit-application-granted moz-src:///browser/components/search/SearchSERPTelemetry.sys.mjs SearchSERPTelemetry.uninit
Loading