commit d4178c9605b358ac1c4c8e4f1031a14e9ca42a78
parent 737fe2f23978cc2f92a4b41bc69e31d37b6cd882
Author: agoloman <agoloman@mozilla.com>
Date: Wed, 17 Dec 2025 03:08:47 +0200
Revert "Bug 2004773 - Enable image proxy for newtab r=mconley,home-newtab-reviewers,necko-reviewers,valentin" for causing bc failures @browser_speculative_connect.js.
This reverts commit c975493bd80c99eff218232f9ab09cb351ce14a5.
Diffstat:
3 files changed, 1 insertion(+), 14 deletions(-)
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", true);
+pref("browser.newtabpage.activity-stream.discoverystream.imageProxy.enabled", false);
// 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,11 +21,6 @@ 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,17 +3,9 @@
* 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: