Bug 1627890 - Disable HTTP Feature-Policy header and document.featurePolicy in Nightly. r=baku

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Johann Hofmann 2020-04-15 22:16:41 +00:00
parent d09e5861c1
commit 48b208f05c
7 changed files with 9 additions and 29 deletions

View File

@ -2397,7 +2397,7 @@
# This pref enables the featurePolicy header support.
- name: dom.security.featurePolicy.header.enabled
type: bool
value: @IS_NIGHTLY_BUILD@
value: false
mirror: always
- name: dom.security.respect_document_nosniff
@ -2410,10 +2410,10 @@
value: false
mirror: always
# Expose the 'policy' attribute in document and HTMLIFrameElement
# Expose the 'featurePolicy' attribute in document and HTMLIFrameElement
- name: dom.security.featurePolicy.webidl.enabled
type: bool
value: @IS_NIGHTLY_BUILD@
value: false
mirror: always
# For testing purposes only: Flipping this pref to true allows

View File

@ -1,7 +1,2 @@
[comma-in-policy.https.html]
[Commas in "features/policy" cause parse errors and thus no feature policy]
expected:
if release_or_beta: FAIL
[Origin policy subframe]
expected:
if release_or_beta: FAIL
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1627890

View File

@ -1,4 +1,2 @@
[double-features.https.html]
[Origin policy subframe]
expected: FAIL
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1627890

View File

@ -1,4 +1,3 @@
[double-policy.https.html]
[Origin policy subframe]
expected: FAIL
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1627890

View File

@ -1,7 +1,2 @@
[non-object.https.html]
[Non-object "features" member must be ignored]
expected:
if release_or_beta: FAIL
[Origin policy subframe]
expected:
if release_or_beta: FAIL
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1627890

View File

@ -1,7 +1,2 @@
[non-string.https.html]
[Non-string "features/policy" member must be ignored]
expected:
if release_or_beta: FAIL
[Origin policy subframe]
expected:
if release_or_beta: FAIL
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1627890

View File

@ -1,4 +1,2 @@
[valid-with-semicolon.https.html]
[Origin policy subframe]
expected: FAIL
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1627890