commit 8c2c577a03006f09f449443d0cdd9f198027e7a9
parent 7b0c7db7c391edb1ef057e58cbc27d114c8e4134
Author: Lando <lando@lando.test>
Date: Wed, 3 Dec 2025 18:48:37 +0000
Bug 1986320: apply code formatting via Lando
# ignore-this-changeset
Diffstat:
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/netwerk/url-classifier/UrlClassifierCommon.cpp b/netwerk/url-classifier/UrlClassifierCommon.cpp
@@ -57,7 +57,8 @@ bool UrlClassifierCommon::AddonMayLoad(nsIChannel* aChannel, nsIURI* aURI) {
}
/* static */
-bool UrlClassifierCommon::ShouldEnableProtectionForChannel(nsIChannel* aChannel) {
+bool UrlClassifierCommon::ShouldEnableProtectionForChannel(
+ nsIChannel* aChannel) {
MOZ_ASSERT(aChannel);
nsCOMPtr<nsIURI> chanURI;
diff --git a/netwerk/url-classifier/UrlClassifierFeatureFactory.cpp b/netwerk/url-classifier/UrlClassifierFeatureFactory.cpp
@@ -254,8 +254,7 @@ UrlClassifierFeatureFactory::GetFeatureByName(const nsACString& aName) {
}
// Addon Protection
- feature =
- UrlClassifierFeatureHarmfulAddonProtection::GetIfNameMatches(aName);
+ feature = UrlClassifierFeatureHarmfulAddonProtection::GetIfNameMatches(aName);
if (feature) {
return feature.forget();
}
diff --git a/toolkit/components/extensions/test/browser/browser_ext_urlclassifier.js b/toolkit/components/extensions/test/browser/browser_ext_urlclassifier.js
@@ -36,7 +36,10 @@ add_task(async function test_extension_tab_create() {
browser_specific_settings: {
gecko: { id },
},
- host_permissions: ["*://expected.example.org/*", "*://extra.example.org/*"],
+ host_permissions: [
+ "*://expected.example.org/*",
+ "*://extra.example.org/*",
+ ],
},
background() {
const { browser } = this;