Loading browser/base/content/browser-init.js +0 −2 Original line number Diff line number Diff line Loading @@ -604,8 +604,6 @@ var gBrowserInit = { CaptivePortalWatcher.delayedStartup(); ShoppingSidebarManager.ensureInitialized(); SessionStore.promiseAllWindowsRestored.then(() => { this._schedulePerWindowIdleTasks(); document.documentElement.setAttribute("sessionrestored", "true"); Loading browser/base/content/browser.js +3 −7 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ ChromeUtils.defineESModuleGetters(this, { E10SUtils: "resource://gre/modules/E10SUtils.sys.mjs", ExtensionsUI: "resource:///modules/ExtensionsUI.sys.mjs", HomePage: "resource:///modules/HomePage.sys.mjs", isProductURL: "chrome://global/content/shopping/ShoppingProduct.mjs", // Removed isProductURL from ShoppingProduct.mjs. tor-browser#42831. LightweightThemeConsumer: "resource://gre/modules/LightweightThemeConsumer.sys.mjs", LoginHelper: "resource://gre/modules/LoginHelper.sys.mjs", Loading Loading @@ -72,8 +72,8 @@ ChromeUtils.defineESModuleGetters(this, { SearchUIUtils: "resource:///modules/SearchUIUtils.sys.mjs", SessionStartup: "resource:///modules/sessionstore/SessionStartup.sys.mjs", SessionStore: "resource:///modules/sessionstore/SessionStore.sys.mjs", ShoppingSidebarParent: "resource:///actors/ShoppingSidebarParent.sys.mjs", ShoppingSidebarManager: "resource:///actors/ShoppingSidebarParent.sys.mjs", // Removed ShoppingSidebarParent and ShoppingSidebarManager. // tor-browser#42831. ShortcutUtils: "resource://gre/modules/ShortcutUtils.sys.mjs", SiteDataManager: "resource:///modules/SiteDataManager.sys.mjs", SitePermissions: "resource:///modules/SitePermissions.sys.mjs", Loading Loading @@ -4331,10 +4331,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) { Loading browser/base/content/browser.js.globals +0 −3 Original line number Diff line number Diff line Loading @@ -130,7 +130,6 @@ "E10SUtils", "ExtensionsUI", "HomePage", "isProductURL", "LightweightThemeConsumer", "LoginHelper", "LoginManagerParent", Loading Loading @@ -162,8 +161,6 @@ "SearchUIUtils", "SessionStartup", "SessionStore", "ShoppingSidebarParent", "ShoppingSidebarManager", "ShortcutUtils", "SiteDataManager", "SitePermissions", Loading browser/base/content/browser.xhtml +1 −1 Original line number Diff line number Diff line Loading @@ -123,7 +123,7 @@ 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); // Removed shopping-sidebar.js. tor-browser#42831. window.onload = gBrowserInit.onLoad.bind(gBrowserInit); window.onunload = gBrowserInit.onUnload.bind(gBrowserInit); Loading browser/base/content/navigator-toolbox.inc.xhtml +2 −0 Original line number Diff line number Diff line Loading @@ -380,6 +380,8 @@ <image class="urlbar-icon" id="translations-button-circle-arrows" /> <html:span id="translations-button-locale" aria-hidden="true" /> </hbox> <!-- #shopping-sidebar-button should remain hidden. - tor-browser#42831. --> <hbox id="shopping-sidebar-button" class="urlbar-page-action" role="button" Loading Loading
browser/base/content/browser-init.js +0 −2 Original line number Diff line number Diff line Loading @@ -604,8 +604,6 @@ var gBrowserInit = { CaptivePortalWatcher.delayedStartup(); ShoppingSidebarManager.ensureInitialized(); SessionStore.promiseAllWindowsRestored.then(() => { this._schedulePerWindowIdleTasks(); document.documentElement.setAttribute("sessionrestored", "true"); Loading
browser/base/content/browser.js +3 −7 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ ChromeUtils.defineESModuleGetters(this, { E10SUtils: "resource://gre/modules/E10SUtils.sys.mjs", ExtensionsUI: "resource:///modules/ExtensionsUI.sys.mjs", HomePage: "resource:///modules/HomePage.sys.mjs", isProductURL: "chrome://global/content/shopping/ShoppingProduct.mjs", // Removed isProductURL from ShoppingProduct.mjs. tor-browser#42831. LightweightThemeConsumer: "resource://gre/modules/LightweightThemeConsumer.sys.mjs", LoginHelper: "resource://gre/modules/LoginHelper.sys.mjs", Loading Loading @@ -72,8 +72,8 @@ ChromeUtils.defineESModuleGetters(this, { SearchUIUtils: "resource:///modules/SearchUIUtils.sys.mjs", SessionStartup: "resource:///modules/sessionstore/SessionStartup.sys.mjs", SessionStore: "resource:///modules/sessionstore/SessionStore.sys.mjs", ShoppingSidebarParent: "resource:///actors/ShoppingSidebarParent.sys.mjs", ShoppingSidebarManager: "resource:///actors/ShoppingSidebarParent.sys.mjs", // Removed ShoppingSidebarParent and ShoppingSidebarManager. // tor-browser#42831. ShortcutUtils: "resource://gre/modules/ShortcutUtils.sys.mjs", SiteDataManager: "resource:///modules/SiteDataManager.sys.mjs", SitePermissions: "resource:///modules/SitePermissions.sys.mjs", Loading Loading @@ -4331,10 +4331,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) { Loading
browser/base/content/browser.js.globals +0 −3 Original line number Diff line number Diff line Loading @@ -130,7 +130,6 @@ "E10SUtils", "ExtensionsUI", "HomePage", "isProductURL", "LightweightThemeConsumer", "LoginHelper", "LoginManagerParent", Loading Loading @@ -162,8 +161,6 @@ "SearchUIUtils", "SessionStartup", "SessionStore", "ShoppingSidebarParent", "ShoppingSidebarManager", "ShortcutUtils", "SiteDataManager", "SitePermissions", Loading
browser/base/content/browser.xhtml +1 −1 Original line number Diff line number Diff line Loading @@ -123,7 +123,7 @@ 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); // Removed shopping-sidebar.js. tor-browser#42831. window.onload = gBrowserInit.onLoad.bind(gBrowserInit); window.onunload = gBrowserInit.onUnload.bind(gBrowserInit); Loading
browser/base/content/navigator-toolbox.inc.xhtml +2 −0 Original line number Diff line number Diff line Loading @@ -380,6 +380,8 @@ <image class="urlbar-icon" id="translations-button-circle-arrows" /> <html:span id="translations-button-locale" aria-hidden="true" /> </hbox> <!-- #shopping-sidebar-button should remain hidden. - tor-browser#42831. --> <hbox id="shopping-sidebar-button" class="urlbar-page-action" role="button" Loading