tor-browser

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

commit f2dc24047786f81c4a1eb8505fde769baae8df70
parent 8f0e7808637c31539831b3a8b32ca51468969be9
Author: Tom Schuster <tschuster@mozilla.com>
Date:   Mon, 27 Oct 2025 16:07:56 +0000

Bug 1991945. r=farre,necko-reviewers,jesup

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

Diffstat:
Mnetwerk/protocol/http/HttpBaseChannel.cpp | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/netwerk/protocol/http/HttpBaseChannel.cpp b/netwerk/protocol/http/HttpBaseChannel.cpp @@ -2969,7 +2969,8 @@ nsresult ProcessXCTO(HttpBaseChannel* aChannel, nsIURI* aURI, auto policyType = aLoadInfo->GetExternalContentPolicyType(); if (policyType == ExtContentPolicy::TYPE_DOCUMENT || - policyType == ExtContentPolicy::TYPE_SUBDOCUMENT) { + policyType == ExtContentPolicy::TYPE_SUBDOCUMENT || + policyType == ExtContentPolicy::TYPE_OBJECT) { // If the header XCTO nosniff is set for any browsing context, then // we set the skipContentSniffing flag on the Loadinfo. Within // GetMIMETypeFromContent we then bail early and do not do any sniffing.