tor-browser

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

commit 3f8bb658c25ed8139211aba267d833a47653e25d
parent 3511ad71b1a995c9eaeaf59dfb3cc08d1bddcfda
Author: Jeff Muizelaar <jmuizelaar@mozilla.com>
Date:   Thu, 13 Nov 2025 03:23:51 +0000

Bug 1999855 - Use getBoolPrefSync for disabling pref to avoid round trip to parent. r=twisniewski,webcompat-reviewers

This should cut out 1 round trip to the parent per intervention.

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

Diffstat:
Mbrowser/extensions/webcompat/lib/interventions.js | 2+-
Mbrowser/extensions/webcompat/manifest.json | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/browser/extensions/webcompat/lib/interventions.js b/browser/extensions/webcompat/lib/interventions.js @@ -240,7 +240,7 @@ class Interventions { config.DISABLING_PREF ); - const disablingPrefValue = await browser.aboutConfigPrefs.getPref( + const disablingPrefValue = browser.aboutConfigPrefs.getBoolPrefSync( config.DISABLING_PREF ); diff --git a/browser/extensions/webcompat/manifest.json b/browser/extensions/webcompat/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "Web Compatibility Interventions", "description": "Urgent post-release fixes for web compatibility.", - "version": "147.1.0", + "version": "147.2.0", "browser_specific_settings": { "gecko": { "id": "webcompat@mozilla.org",