mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1425993 - Make security violation events Nightly-only and update test expectations accordingly. r=smaug
This commit is contained in:
parent
d1633ff16c
commit
460ad0274d
@ -825,7 +825,7 @@ var interfaceNamesInGlobalScope =
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"ScrollAreaEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"SecurityPolicyViolationEvent",
|
||||
{name: "SecurityPolicyViolationEvent", release: false},
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Selection",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -2559,7 +2559,7 @@ pref("security.notification_enable_delay", 500);
|
||||
pref("security.csp.enable", true);
|
||||
pref("security.csp.experimentalEnabled", false);
|
||||
pref("security.csp.enableStrictDynamic", true);
|
||||
#ifdef EARLY_BETA_OR_EARLIER
|
||||
#ifdef NIGHTLY_BUILD
|
||||
pref("security.csp.enable_violation_events", true);
|
||||
#else
|
||||
pref("security.csp.enable_violation_events", false);
|
||||
|
@ -1,5 +1,6 @@
|
||||
[style-src-imported-style-blocked.html]
|
||||
type: testharness
|
||||
prefs: [security.csp.enable_violation_events:true]
|
||||
[Should fire a securitypolicyviolation event]
|
||||
expected: FAIL
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user