tor-browser

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

commit 9d45bcc5c8584db7d25ac49b5d9e185222dfefc2
parent f272d11a69d5f9e01cd1ce15d5757a21dc8035a2
Author: Tom Schuster <tschuster@mozilla.com>
Date:   Wed,  3 Dec 2025 13:33:24 +0000

Bug 1995692 - Enable the Sanitizer API in early-beta and ealier. r=freddyb,webidl,smaug

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

Diffstat:
Mdom/tests/mochitest/general/test_interfaces.js | 2+-
Mmodules/libpref/init/StaticPrefList.yaml | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dom/tests/mochitest/general/test_interfaces.js b/dom/tests/mochitest/general/test_interfaces.js @@ -1445,7 +1445,7 @@ let interfaceNamesInGlobalScope = [ // IMPORTANT: Do not change this list without review from a DOM peer! { name: "SVGViewElement", insecureContext: true }, // IMPORTANT: Do not change this list without review from a DOM peer! - { name: "Sanitizer", insecureContext: true, nightly: true }, + { name: "Sanitizer", insecureContext: true, earlyBetaOrEarlier: true }, // IMPORTANT: Do not change this list without review from a DOM peer! { name: "Scheduler", insecureContext: true }, // IMPORTANT: Do not change this list without review from a DOM peer! diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml @@ -4647,7 +4647,7 @@ # https://wicg.github.io/sanitizer-api/ - name: dom.security.sanitizer.enabled type: bool - value: @IS_NIGHTLY_BUILD@ + value: @IS_EARLY_BETA_OR_EARLIER@ mirror: always # Logs elements and attributes removed by the Sanitizer API to the console.