Skip to content

Commit 0ca642b

Browse files
FKLCfkilic@mozilla.com
authored andcommitted
Bug 1976656 - Enable Integrity-Policy by default for scripts. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D257055
1 parent d2cd95c commit 0ca642b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

dom/security/test/mochitest/integrity-policy/mochitest.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[DEFAULT]
22
prefs = [
33
"security.integrity_policy.enabled=true",
4+
"security.integrity_policy.stylesheet.enabled=true",
45
]
56

67
["test_console_messages.html"]

modules/libpref/init/StaticPrefList.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17286,12 +17286,12 @@
1728617286

1728717287
- name: security.integrity_policy.enabled
1728817288
type: RelaxedAtomicBool
17289-
value: false
17289+
value: @IS_NIGHTLY_BUILD@
1729017290
mirror: always
1729117291

1729217292
- name: security.integrity_policy.stylesheet.enabled
1729317293
type: RelaxedAtomicBool
17294-
value: true
17294+
value: false
1729517295
mirror: always
1729617296

1729717297
# Which mechanism the secret decoder ring should use for encryption. Decryption

0 commit comments

Comments
 (0)