commit fdacf289d5a725153e0d9b024542f65219cbc9d6
parent 5f838f6b5a52b75fe3b6bede19f0357ffe7cf215
Author: Lando <lando@lando.test>
Date: Tue, 4 Nov 2025 01:24:08 +0000
Bug 1360870, 1989386, 1990925, 1995558: apply code formatting via Lando
# ignore-this-changeset
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/netwerk/protocol/http/HttpBaseChannel.cpp b/netwerk/protocol/http/HttpBaseChannel.cpp
@@ -3038,7 +3038,8 @@ nsresult EnsureMIMEOfScript(HttpBaseChannel* aChannel, nsIURI* aURI,
}
const auto internalPolicyType = aLoadInfo->InternalContentPolicyType();
- if (internalPolicyType == nsIContentPolicy::TYPE_INTERNAL_WORKER_STATIC_MODULE &&
+ if (internalPolicyType ==
+ nsIContentPolicy::TYPE_INTERNAL_WORKER_STATIC_MODULE &&
nsContentUtils::IsJsonMimeType(typeString)) {
// script and json are both allowed
glean::http::script_block_incorrect_mime