tor-browser

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

commit 0a681e6e150c451fec42f3be55c0499fd7571116
parent fcf324e8a5310b0b6a27e176ebaac0230a522c70
Author: Emma Zuehlcke <emz@mozilla.com>
Date:   Tue, 11 Nov 2025 11:18:20 +0000

Bug 1971438 - Support setting 'disabled' and 'hidden' properties via 'option' config. r=hjones

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

Diffstat:
Mbrowser/components/preferences/widgets/setting-control/setting-control.mjs | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/browser/components/preferences/widgets/setting-control/setting-control.mjs b/browser/components/preferences/widgets/setting-control/setting-control.mjs @@ -208,6 +208,8 @@ export class SettingControl extends SettingElement { getOptionPropertyMapping(config) { const props = this.getCommonPropertyMapping(config); props[".value"] = config.value; + props[".disabled"] = config.disabled; + props[".hidden"] = config.hidden; return props; }