commit c975493bd80c99eff218232f9ab09cb351ce14a5
parent ec0822a0a2f104434b1c6c91f4ae2968b6260d72
Author: Nathan Barrett <nbarrett@mozilla.com>
Date: Wed, 17 Dec 2025 00:10:29 +0000
Bug 2004773 - Enable image proxy for newtab r=mconley,home-newtab-reviewers,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D275521
Diffstat:
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js
@@ -2033,7 +2033,7 @@ pref("browser.newtabpage.activity-stream.discoverystream.merino-provider.endpoin
pref("browser.newtabpage.activity-stream.discoverystream.merino-provider.ohttp.enabled", false);
pref("browser.newtabpage.activity-stream.discoverystream.ohttp.relayURL", "https://mozilla-ohttp.fastly-edge.com/");
pref("browser.newtabpage.activity-stream.discoverystream.ohttp.configURL", "https://prod.ohttp-gateway.prod.webservices.mozgcp.net/ohttp-configs");
-pref("browser.newtabpage.activity-stream.discoverystream.imageProxy.enabled", false);
+pref("browser.newtabpage.activity-stream.discoverystream.imageProxy.enabled", true);
// List of regions that get spocs by default.
pref("browser.newtabpage.activity-stream.discoverystream.region-spocs-config", "US,CA,DE,GB,FR,IT,ES");
diff --git a/netwerk/test/browser/browser_link_hover_speculative_connection.js b/netwerk/test/browser/browser_link_hover_speculative_connection.js
@@ -21,6 +21,11 @@ add_setup(async function () {
["network.predictor.enable-hover-on-ssl", true],
// Enable network debugging observations
["network.http.debug-observations", true],
+ // disable image proxy for newtab until Bug #2005048 is fixed
+ [
+ "browser.newtabpage.activity-stream.discoverystream.imageProxy.enabled",
+ false,
+ ],
],
});
diff --git a/netwerk/test/browser/browser_speculative_connection_link_header.js b/netwerk/test/browser/browser_speculative_connection_link_header.js
@@ -3,9 +3,17 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
Services.prefs.setBoolPref("network.http.debug-observations", true);
+// disable image proxy for newtab until Bug #2005048 is fixed
+Services.prefs.setBoolPref(
+ "browser.newtabpage.activity-stream.discoverystream.imageProxy.enabled",
+ false
+);
registerCleanupFunction(function () {
Services.prefs.clearUserPref("network.http.debug-observations");
+ Services.prefs.clearUserPref(
+ "browser.newtabpage.activity-stream.discoverystream.imageProxy.enabled"
+ );
});
// Test steps: