Skip to content

Commit 8421cc8

Browse files
committed
Bug 1954437 - Enable the Sanitizer API by default in Nightly. r=smaug,webidl
Differential Revision: https://phabricator.services.mozilla.com/D269056
1 parent ad632ba commit 8421cc8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dom/tests/mochitest/general/test_interfaces.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,7 @@ let interfaceNamesInGlobalScope = [
14151415
// IMPORTANT: Do not change this list without review from a DOM peer!
14161416
{ name: "SVGViewElement", insecureContext: true },
14171417
// IMPORTANT: Do not change this list without review from a DOM peer!
1418-
{ name: "Sanitizer", disabled: true },
1418+
{ name: "Sanitizer", insecureContext: true, nightly: true },
14191419
// IMPORTANT: Do not change this list without review from a DOM peer!
14201420
{ name: "Scheduler", insecureContext: true },
14211421
// IMPORTANT: Do not change this list without review from a DOM peer!

modules/libpref/init/StaticPrefList.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4572,7 +4572,7 @@
45724572
# https://wicg.github.io/sanitizer-api/
45734573
- name: dom.security.sanitizer.enabled
45744574
type: bool
4575-
value: false
4575+
value: @IS_NIGHTLY_BUILD@
45764576
mirror: always
45774577

45784578
# Logs elements and attributes removed by the Sanitizer API to the console.

0 commit comments

Comments
 (0)