зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1497486 - Enable FeaturePolicy in nightly, r=ckerschb
This commit is contained in:
Родитель
5a0e236dba
Коммит
6eb130211c
|
@ -1745,11 +1745,17 @@ VARCACHE_PREF(
|
|||
// Feature-Policy prefs
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#ifdef NIGHTLY_BUILD
|
||||
# define PREF_VALUE true
|
||||
#else
|
||||
# define PREF_VALUE false
|
||||
#endif
|
||||
VARCACHE_PREF(
|
||||
"dom.security.featurePolicy.enabled",
|
||||
dom_security_featurePolicy_enabled,
|
||||
bool, false
|
||||
bool, PREF_VALUE
|
||||
)
|
||||
#undef PREF_VALUE
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// End of prefs
|
||||
|
|
|
@ -2,6 +2,3 @@
|
|||
[Feature-Policy allow="wake-lock" allows same-origin relocation]
|
||||
expected: FAIL
|
||||
|
||||
[Feature-Policy allow="wake-lock" disallows cross-origin relocation]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
[usb-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Feature-Policy allow="usb" allows same-origin relocation.]
|
||||
expected: FAIL
|
||||
|
||||
[Feature-Policy allow="usb" disallows cross-origin relocation.]
|
||||
expected: FAIL
|
||||
|
||||
[Feature-Policy allow="usb" allows workers in same-origin relocation.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Feature-Policy allow="usb" disallows workers in cross-origin relocation.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[usb-allowed-by-feature-policy-attribute.https.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Feature policy "usb" can be enabled in cross-origin iframes using "allowed" attribute.]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -9,10 +10,10 @@
|
|||
expected: FAIL
|
||||
|
||||
[Feature policy "usb" can be enabled in a worker in same-origin iframe using allow="usb" attribute]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Feature policy "usb" can be enabled in a worker in cross-origin iframe using allow="usb" attribute]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Inherited header feature policy allows dedicated workers.]
|
||||
expected: FAIL
|
||||
|
|
Загрузка…
Ссылка в новой задаче