tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 9b9f5a14ae44195ef8eb6f41f223630b9f519d45
parent 0432f9cfb0843aa3985677d7e7cf8453a54aad61
Author: Andrew Osmond <aosmond@gmail.com>
Date:   Sat, 22 Nov 2025 19:34:14 +0000

Bug 1981184 - Remove exception allowing for OpenH264 to be downloaded from HTTP instead of HTTPS. r=media-playback-reviewers,padenot

Cisco's OpenH264 infrastructure now supports HTTPS and our configuration
is being updated to only serve HTTPS URLs.

Differential Revision: https://phabricator.services.mozilla.com/D259992

Diffstat:
Mtoolkit/modules/GMPInstallManager.sys.mjs | 8+-------
1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/toolkit/modules/GMPInstallManager.sys.mjs b/toolkit/modules/GMPInstallManager.sys.mjs @@ -898,13 +898,7 @@ GMPDownloader.prototype = { type: "downloaderr", }); } - // If the HTTPS-Only Mode is enabled, every insecure request gets upgraded - // by default. This upgrade has to be prevented for openh264 downloads since - // the server doesn't support https:// - const downloadOptions = { - httpsOnlyNoUpgrade: gmpAddon.isOpenH264, - }; - return ProductAddonChecker.downloadAddon(gmpAddon, downloadOptions).then( + return ProductAddonChecker.downloadAddon(gmpAddon).then( zipPath => { let now = Math.round(Date.now() / 1000); GMPPrefs.setInt(GMPPrefs.KEY_PLUGIN_LAST_DOWNLOAD, now, gmpAddon.id);