commit 8421cc83eed9dd6c49a9eb61ef430984ed4d7c6f
parent ad632bac51fdb78e32501a06b578eb504a797201
Author: Tom Schuster <tschuster@mozilla.com>
Date: Mon, 20 Oct 2025 13:34:00 +0000
Bug 1954437 - Enable the Sanitizer API by default in Nightly. r=smaug,webidl
Differential Revision: https://phabricator.services.mozilla.com/D269056
Diffstat:
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
@@ -1415,7 +1415,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", disabled: true },
+ { name: "Sanitizer", insecureContext: true, nightly: 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
@@ -4572,7 +4572,7 @@
# https://wicg.github.io/sanitizer-api/
- name: dom.security.sanitizer.enabled
type: bool
- value: false
+ value: @IS_NIGHTLY_BUILD@
mirror: always
# Logs elements and attributes removed by the Sanitizer API to the console.