tor-browser

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

commit 768f3614fff260007f7de32a99bccd633e076523
parent 5f2e690d2b8758ade8b2b4ce43fdd7e86a44f27d
Author: Lando <lando@lando.test>
Date:   Wed,  3 Dec 2025 09:48:10 +0000

Bug 1986320: apply code formatting via Lando

# ignore-this-changeset

Diffstat:
Mnetwerk/url-classifier/UrlClassifierCommon.cpp | 3++-
Mnetwerk/url-classifier/UrlClassifierFeatureFactory.cpp | 3+--
Mtoolkit/components/extensions/test/browser/browser_ext_urlclassifier.js | 5++++-
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;