Bug 1436245 - Flip pref explicitly for CSP security policy violation events for newly pulled wpt tests. r=ryanvm
authorChristoph Kerschbaumer <ckerschb@christophkerschbaumer.com>
Wed, 07 Feb 2018 21:11:49 +0100
changeset 402859 c358f1f20f8a8a3dcf72839d522e3459a8d32599
parent 402858 782e8d580a84b50bf92a968da58aaa20cb7f55e0
child 402860 0af93cb1ff942b2fc21d2ff3c63ec3306f5df719
push id33405
push usershindli@mozilla.com
push dateThu, 08 Feb 2018 10:04:47 +0000
treeherdermozilla-central@0ac953fcddf1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersryanvm
bugs1436245
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1436245 - Flip pref explicitly for CSP security policy violation events for newly pulled wpt tests. r=ryanvm
testing/web-platform/meta/content-security-policy/__dir__.ini
testing/web-platform/meta/content-security-policy/base-uri/base-uri_iframe_sandbox.sub.html.ini
testing/web-platform/meta/content-security-policy/base-uri/report-uri-does-not-respect-base-uri.sub.html.ini
testing/web-platform/meta/content-security-policy/blob/blob-urls-do-not-match-self.sub.html.ini
testing/web-platform/meta/content-security-policy/child-src/child-src-worker-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/connect-src/connect-src-beacon-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/connect-src/connect-src-beacon-redirect-to-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/connect-src/connect-src-eventsource-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/connect-src/connect-src-eventsource-redirect-to-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/connect-src/connect-src-websocket-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/connect-src/connect-src-xmlhttprequest-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/connect-src/connect-src-xmlhttprequest-redirect-to-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/connect-src/worker-from-guid.sub.html.ini
testing/web-platform/meta/content-security-policy/font-src/font-stylesheet-font-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/form-action/form-action-src-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/form-action/form-action-src-get-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/form-action/form-action-src-javascript-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/generic/generic-0_1-img-src.html.ini
testing/web-platform/meta/content-security-policy/generic/generic-0_1-script-src.html.ini
testing/web-platform/meta/content-security-policy/generic/generic-0_10_1.sub.html.ini
testing/web-platform/meta/content-security-policy/generic/generic-0_2_2.sub.html.ini
testing/web-platform/meta/content-security-policy/generic/generic-0_2_3.html.ini
testing/web-platform/meta/content-security-policy/generic/generic-0_8_1.sub.html.ini
testing/web-platform/meta/content-security-policy/img-src/report-blocked-data-uri.sub.html.ini
testing/web-platform/meta/content-security-policy/media-src/media-src-7_1_2.sub.html.ini
testing/web-platform/meta/content-security-policy/media-src/media-src-7_2_2.sub.html.ini
testing/web-platform/meta/content-security-policy/media-src/media-src-7_3_2.sub.html.ini
testing/web-platform/meta/content-security-policy/media-src/media-src-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/navigation/to-javascript-url-script-src.html.ini
testing/web-platform/meta/content-security-policy/object-src/object-src-url-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/script-src/injected-inline-script-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/script-src/javascript-window-open-blocked.html.ini
testing/web-platform/meta/content-security-policy/script-src/script-src-1_1.html.ini
testing/web-platform/meta/content-security-policy/script-src/script-src-1_10.html.ini
testing/web-platform/meta/content-security-policy/script-src/script-src-1_2.html.ini
testing/web-platform/meta/content-security-policy/script-src/script-src-1_2_1.html.ini
testing/web-platform/meta/content-security-policy/script-src/script-src-1_4.html.ini
testing/web-platform/meta/content-security-policy/script-src/script-src-1_4_1.html.ini
testing/web-platform/meta/content-security-policy/script-src/script-src-1_4_2.html.ini
testing/web-platform/meta/content-security-policy/script-src/script-src-report-only-policy-works-with-external-hash-policy.html.ini
testing/web-platform/meta/content-security-policy/script-src/script-src-report-only-policy-works-with-hash-policy.html.ini
testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_discard_whitelist.html.ini
testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_double_policy_different_nonce.html.ini
testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_double_policy_report_only.html.ini
testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_hashes.html.ini
testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_javascript_uri.html.ini
testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_non_parser_inserted_incorrect_nonce.html.ini
testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_parser_inserted.html.ini
testing/web-platform/meta/content-security-policy/script-src/scripthash-unicode-normalization.sub.html.ini
testing/web-platform/meta/content-security-policy/script-src/scriptnonce-and-scripthash.sub.html.ini
testing/web-platform/meta/content-security-policy/script-src/scriptnonce-ignore-unsafeinline.sub.html.ini
testing/web-platform/meta/content-security-policy/securitypolicyviolation/blockeduri-inline.html.ini
testing/web-platform/meta/content-security-policy/securitypolicyviolation/idl.html.ini
testing/web-platform/meta/content-security-policy/securitypolicyviolation/img-src-redirect-upgrade-reporting.https.html.ini
testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-cross-origin-image-from-script.sub.html.ini
testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-cross-origin-image.sub.html.ini
testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-image-from-script.sub.html.ini
testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-image.sub.html.ini
testing/web-platform/meta/content-security-policy/securitypolicyviolation/targeting.html.ini
testing/web-platform/meta/content-security-policy/securitypolicyviolation/upgrade-insecure-requests-reporting.https.html.ini
testing/web-platform/meta/content-security-policy/style-src/injected-inline-style-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/style-src/inline-style-allowed-while-cloning-objects.sub.html.ini
testing/web-platform/meta/content-security-policy/style-src/inline-style-attribute-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/style-src/style-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/style-src/style-src-hash-blocked.html.ini
testing/web-platform/meta/content-security-policy/style-src/style-src-imported-style-blocked.html.ini
testing/web-platform/meta/content-security-policy/style-src/style-src-injected-inline-style-blocked.html.ini
testing/web-platform/meta/content-security-policy/style-src/style-src-injected-stylesheet-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-attribute-blocked.html.ini
testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-blocked.html.ini
testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-nonce-blocked-error-event.html.ini
testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-nonce-blocked.html.ini
testing/web-platform/meta/content-security-policy/style-src/style-src-none-blocked.html.ini
testing/web-platform/meta/content-security-policy/style-src/style-src-stylesheet-nonce-blocked.html.ini
testing/web-platform/meta/content-security-policy/style-src/stylehash-basic-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/style-src/stylenonce-allowed.sub.html.ini
testing/web-platform/meta/content-security-policy/style-src/stylenonce-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/svg/object-in-svg-foreignobject.sub.html.ini
testing/web-platform/meta/content-security-policy/svg/svg-inline.sub.html.ini
testing/web-platform/meta/content-security-policy/unsafe-eval/eval-blocked-and-sends-report.sub.html.ini
testing/web-platform/meta/content-security-policy/unsafe-eval/eval-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/unsafe-eval/eval-scripts-setInterval-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/unsafe-eval/eval-scripts-setTimeout-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/unsafe-eval/function-constructor-blocked.sub.html.ini
testing/web-platform/meta/content-security-policy/unsafe-hashed-attributes/script_event_handlers_allowed.html.ini
testing/web-platform/meta/content-security-policy/unsafe-hashed-attributes/script_event_handlers_denied_matching_hash_no_unsafe_inline_attribute.html.ini
testing/web-platform/meta/content-security-policy/unsafe-hashed-attributes/script_event_handlers_denied_not_matching_hash.html.ini
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/__dir__.ini
@@ -0,0 +1,1 @@
+prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/base-uri/base-uri_iframe_sandbox.sub.html.ini
+++ b/testing/web-platform/meta/content-security-policy/base-uri/base-uri_iframe_sandbox.sub.html.ini
@@ -1,3 +1,2 @@
 [base-uri_iframe_sandbox.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
   expected: ERROR
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/base-uri/report-uri-does-not-respect-base-uri.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[report-uri-does-not-respect-base-uri.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/blob/blob-urls-do-not-match-self.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[blob-urls-do-not-match-self.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/child-src/child-src-worker-blocked.sub.html.ini
+++ b/testing/web-platform/meta/content-security-policy/child-src/child-src-worker-blocked.sub.html.ini
@@ -1,5 +1,4 @@
 [child-src-worker-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Should throw a securitypolicyviolation event]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/connect-src/connect-src-beacon-blocked.sub.html.ini
+++ b/testing/web-platform/meta/content-security-policy/connect-src/connect-src-beacon-blocked.sub.html.ini
@@ -1,9 +1,8 @@
 [connect-src-beacon-blocked.sub.html]
   type: testharness
-  prefs: [security.csp.enable_violation_events:true]
   [sendBeacon should not throw.]
     expected: FAIL
 
   [redirect case]
     expected: TIMEOUT
 
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/connect-src/connect-src-beacon-redirect-to-blocked.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[connect-src-beacon-redirect-to-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/connect-src/connect-src-eventsource-blocked.sub.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[connect-src-eventsource-blocked.sub.html]
-  type: testharness
-  prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/connect-src/connect-src-eventsource-redirect-to-blocked.sub.html.ini
+++ b/testing/web-platform/meta/content-security-policy/connect-src/connect-src-eventsource-redirect-to-blocked.sub.html.ini
@@ -1,6 +1,5 @@
 [connect-src-eventsource-redirect-to-blocked.sub.html]
   type: testharness
-  prefs: [security.csp.enable_violation_events:true]
   [Expecting logs: ["PASS EventSource() did not follow the disallowed redirect.","PASS successfullyParsed is true","TEST COMPLETE"\]]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/connect-src/connect-src-websocket-blocked.sub.html.ini
+++ b/testing/web-platform/meta/content-security-policy/connect-src/connect-src-websocket-blocked.sub.html.ini
@@ -1,6 +1,5 @@
 [connect-src-websocket-blocked.sub.html]
   type: testharness
-  prefs: [security.csp.enable_violation_events:true]
   [WebSocket should fire error event.]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/connect-src/connect-src-xmlhttprequest-blocked.sub.html.ini
+++ b/testing/web-platform/meta/content-security-policy/connect-src/connect-src-xmlhttprequest-blocked.sub.html.ini
@@ -1,8 +1,7 @@
 [connect-src-xmlhttprequest-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
   [XHR should fire onerror.]
     expected: TIMEOUT
 
   [XHR should fire onerror after a redirect.]
     expected: FAIL
 
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/connect-src/connect-src-xmlhttprequest-redirect-to-blocked.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[connect-src-xmlhttprequest-redirect-to-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/connect-src/worker-from-guid.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[worker-from-guid.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/font-src/font-stylesheet-font-blocked.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[font-stylesheet-font-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/form-action/form-action-src-blocked.sub.html.ini
+++ b/testing/web-platform/meta/content-security-policy/form-action/form-action-src-blocked.sub.html.ini
@@ -1,6 +1,5 @@
 [form-action-src-blocked.sub.html]
   type: testharness
-  prefs: [security.csp.enable_violation_events:true]
   [form-action-src-blocked]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/form-action/form-action-src-get-blocked.sub.html.ini
+++ b/testing/web-platform/meta/content-security-policy/form-action/form-action-src-get-blocked.sub.html.ini
@@ -1,6 +1,5 @@
 [form-action-src-get-blocked.sub.html]
   type: testharness
-  prefs: [security.csp.enable_violation_events:true]
   [form-action-src-allowed]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/form-action/form-action-src-javascript-blocked.sub.html.ini
+++ b/testing/web-platform/meta/content-security-policy/form-action/form-action-src-javascript-blocked.sub.html.ini
@@ -1,6 +1,5 @@
 [form-action-src-javascript-blocked.sub.html]
   type: testharness
-  prefs: [security.csp.enable_violation_events:true]
   [form-action-src-javascript-blocked]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/generic/generic-0_1-img-src.html.ini
+++ b/testing/web-platform/meta/content-security-policy/generic/generic-0_1-img-src.html.ini
@@ -1,8 +1,7 @@
 [generic-0_1-img-src.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Violation report status OK.]
     expected: FAIL
 
   [Should fire violation events for every failed violation]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/generic/generic-0_1-script-src.html.ini
+++ b/testing/web-platform/meta/content-security-policy/generic/generic-0_1-script-src.html.ini
@@ -1,8 +1,7 @@
 [generic-0_1-script-src.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Violation report status OK.]
     expected: FAIL
 
   [Should fire violation events for every failed violation]
     expected: FAIL
 
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/generic/generic-0_10_1.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[generic-0_10_1.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/generic/generic-0_2_2.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[generic-0_2_2.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/generic/generic-0_2_3.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[generic-0_2_3.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/generic/generic-0_8_1.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[generic-0_8_1.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/img-src/report-blocked-data-uri.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[report-blocked-data-uri.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/media-src/media-src-7_1_2.sub.html.ini
+++ b/testing/web-platform/meta/content-security-policy/media-src/media-src-7_1_2.sub.html.ini
@@ -1,5 +1,4 @@
 [media-src-7_1_2.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Test that securitypolicyviolation events are fired]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/media-src/media-src-7_2_2.sub.html.ini
+++ b/testing/web-platform/meta/content-security-policy/media-src/media-src-7_2_2.sub.html.ini
@@ -1,5 +1,4 @@
 [media-src-7_2_2.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Test that securitypolicyviolation events are fired]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/media-src/media-src-7_3_2.sub.html.ini
+++ b/testing/web-platform/meta/content-security-policy/media-src/media-src-7_3_2.sub.html.ini
@@ -1,5 +1,4 @@
 [media-src-7_3_2.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Test that securitypolicyviolation events are fired]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/media-src/media-src-blocked.sub.html.ini
+++ b/testing/web-platform/meta/content-security-policy/media-src/media-src-blocked.sub.html.ini
@@ -1,5 +1,4 @@
 [media-src-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Test that securitypolicyviolation events are fired]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/navigation/to-javascript-url-script-src.html.ini
+++ b/testing/web-platform/meta/content-security-policy/navigation/to-javascript-url-script-src.html.ini
@@ -1,11 +1,10 @@
 [to-javascript-url-script-src.html]
   expected: TIMEOUT
-  prefs: [security.csp.enable_violation_events:true]
   [<iframe src='javascript:'> blocked without 'unsafe-inline'.]
     expected: TIMEOUT
 
   [<iframe> navigated to 'javascript:' blocked without 'unsafe-inline'.]
     expected: TIMEOUT
 
   [<iframe src='...'> with 'unsafe-inline' navigated to 'javascript:' blocked in this document]
     expected: TIMEOUT
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/object-src/object-src-url-blocked.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[object-src-url-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/script-src/injected-inline-script-blocked.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[injected-inline-script-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/script-src/javascript-window-open-blocked.html.ini
+++ b/testing/web-platform/meta/content-security-policy/script-src/javascript-window-open-blocked.html.ini
@@ -1,5 +1,4 @@
 [javascript-window-open-blocked.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Check that a securitypolicyviolation event is fired]
     expected: FAIL
 
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/script-src/script-src-1_1.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[script-src-1_1.html]
-  prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/script-src/script-src-1_10.html.ini
+++ b/testing/web-platform/meta/content-security-policy/script-src/script-src-1_10.html.ini
@@ -1,5 +1,4 @@
 [script-src-1_10.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Test that securitypolicyviolation event is fired]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/script-src/script-src-1_2.html.ini
+++ b/testing/web-platform/meta/content-security-policy/script-src/script-src-1_2.html.ini
@@ -1,4 +1,3 @@
 [script-src-1_2.html]
   disabled:
     if os == "win": bug 1172411
-  prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/script-src/script-src-1_2_1.html.ini
+++ b/testing/web-platform/meta/content-security-policy/script-src/script-src-1_2_1.html.ini
@@ -1,4 +1,3 @@
 [script-src-1_2_1.html]
   disabled:
     if os == "win": bug 1094323
-  prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/script-src/script-src-1_4.html.ini
+++ b/testing/web-platform/meta/content-security-policy/script-src/script-src-1_4.html.ini
@@ -1,5 +1,4 @@
 [script-src-1_4.html]
-  prefs: [security.csp.enable_violation_events:true]
   [eval() should throw without 'unsafe-eval' keyword source in script-src directive.]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/script-src/script-src-1_4_1.html.ini
+++ b/testing/web-platform/meta/content-security-policy/script-src/script-src-1_4_1.html.ini
@@ -1,4 +1,3 @@
 [script-src-1_4_1.html]
   disabled:
     if os == "win": bug 1094323
-  prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/script-src/script-src-1_4_2.html.ini
+++ b/testing/web-platform/meta/content-security-policy/script-src/script-src-1_4_2.html.ini
@@ -1,5 +1,4 @@
 [script-src-1_4_2.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Unsafe eval ran in Function() constructor.]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/script-src/script-src-report-only-policy-works-with-external-hash-policy.html.ini
+++ b/testing/web-platform/meta/content-security-policy/script-src/script-src-report-only-policy-works-with-external-hash-policy.html.ini
@@ -1,8 +1,7 @@
 [script-src-report-only-policy-works-with-external-hash-policy.html]
-  prefs: [security.csp.enable_violation_events:true]
   [External script in a script tag with matching SRI hash should run.]
     expected: FAIL
 
   [Should fire securitypolicyviolation event]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/script-src/script-src-report-only-policy-works-with-hash-policy.html.ini
+++ b/testing/web-platform/meta/content-security-policy/script-src/script-src-report-only-policy-works-with-hash-policy.html.ini
@@ -1,5 +1,4 @@
 [script-src-report-only-policy-works-with-hash-policy.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Test that the securitypolicyviolation event is fired]
     expected: FAIL
 
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_discard_whitelist.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[script-src-strict_dynamic_discard_whitelist.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_double_policy_different_nonce.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[script-src-strict_dynamic_double_policy_different_nonce.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_double_policy_report_only.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[script-src-strict_dynamic_double_policy_report_only.html]
-  type: testharness
-  prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_hashes.html.ini
+++ b/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_hashes.html.ini
@@ -1,3 +1,2 @@
 [script-src-strict_dynamic_hashes.html]
   expected: ERROR
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_javascript_uri.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[script-src-strict_dynamic_javascript_uri.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_non_parser_inserted_incorrect_nonce.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[script-src-strict_dynamic_non_parser_inserted_incorrect_nonce.html]
-  prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_parser_inserted.html.ini
+++ b/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_parser_inserted.html.ini
@@ -1,9 +1,8 @@
 [script-src-strict_dynamic_parser_inserted.html]
   expected: TIMEOUT
-  prefs: [security.csp.enable_violation_events:true]
   [Script injected via `innerHTML` is not allowed with `strict-dynamic`.]
     expected: TIMEOUT
 
   [Script injected via `insertAdjacentHTML` is not allowed with `strict-dynamic`.]
     expected: TIMEOUT
 
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/script-src/scripthash-unicode-normalization.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[scripthash-unicode-normalization.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/script-src/scriptnonce-and-scripthash.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[scriptnonce-and-scripthash.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/script-src/scriptnonce-ignore-unsafeinline.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[scriptnonce-ignore-unsafeinline.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/blockeduri-inline.html.ini
+++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/blockeduri-inline.html.ini
@@ -1,5 +1,4 @@
 [blockeduri-inline.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Inline violations have a blockedURI of 'inline']
     expected: FAIL
 
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/idl.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[idl.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/img-src-redirect-upgrade-reporting.https.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[img-src-redirect-upgrade-reporting.https.html]
-  prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-cross-origin-image-from-script.sub.html.ini
+++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-cross-origin-image-from-script.sub.html.ini
@@ -1,5 +1,4 @@
 [securitypolicyviolation-block-cross-origin-image-from-script.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Non-redirected cross-origin URLs are not stripped.]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-cross-origin-image.sub.html.ini
+++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-cross-origin-image.sub.html.ini
@@ -1,5 +1,4 @@
 [securitypolicyviolation-block-cross-origin-image.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Non-redirected cross-origin URLs are not stripped.]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-image-from-script.sub.html.ini
+++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-image-from-script.sub.html.ini
@@ -1,5 +1,4 @@
 [securitypolicyviolation-block-image-from-script.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Non-redirected cross-origin URLs are not stripped.]
     expected: FAIL
 
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-image.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[securitypolicyviolation-block-image.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/targeting.html.ini
+++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/targeting.html.ini
@@ -1,10 +1,10 @@
 [targeting.html]
-  prefs: [dom.webcomponents.shadowdom.enabled:true, security.csp.enable_violation_events:true]
+  prefs: [dom.webcomponents.shadowdom.enabled:true]
   expected: TIMEOUT
   [These tests should not fail.]
     expected: NOTRUN
 
   [Inline violations target the right element.]
     expected: FAIL
 
   [Correct targeting inside shadow tree (inline handler).]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/upgrade-insecure-requests-reporting.https.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[upgrade-insecure-requests-reporting.https.html]
-  type: testharness
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/style-src/injected-inline-style-blocked.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[injected-inline-style-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/style-src/inline-style-allowed-while-cloning-objects.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[inline-style-allowed-while-cloning-objects.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/style-src/inline-style-attribute-blocked.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[inline-style-attribute-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/style-src/style-blocked.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[style-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/style-src/style-src-hash-blocked.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[style-src-hash-blocked.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/style-src/style-src-imported-style-blocked.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[style-src-imported-style-blocked.html]
-  type: testharness
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/style-src/style-src-injected-inline-style-blocked.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[style-src-injected-inline-style-blocked.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/style-src/style-src-injected-stylesheet-blocked.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[style-src-injected-stylesheet-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-attribute-blocked.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[style-src-inline-style-attribute-blocked.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-blocked.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[style-src-inline-style-blocked.html]
-  prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-nonce-blocked-error-event.html.ini
+++ b/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-nonce-blocked-error-event.html.ini
@@ -1,6 +1,5 @@
 [style-src-inline-style-nonce-blocked-error-event.html]
   expected: TIMEOUT
-  prefs: [security.csp.enable_violation_events:true]
   [Test that paragraph remains unmodified and error events received.]
     expected: NOTRUN
 
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-nonce-blocked.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[style-src-inline-style-nonce-blocked.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/style-src/style-src-none-blocked.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[style-src-none-blocked.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/style-src/style-src-stylesheet-nonce-blocked.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[style-src-stylesheet-nonce-blocked.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/style-src/stylehash-basic-blocked.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[stylehash-basic-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/style-src/stylenonce-allowed.sub.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[stylenonce-allowed.sub.html]
-  type: testharness
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/style-src/stylenonce-blocked.sub.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[stylenonce-blocked.sub.html]
-  type: testharness
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/svg/object-in-svg-foreignobject.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[object-in-svg-foreignobject.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/svg/svg-inline.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[svg-inline.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-blocked-and-sends-report.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[eval-blocked-and-sends-report.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-blocked.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[eval-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-scripts-setInterval-blocked.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[eval-scripts-setInterval-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-scripts-setTimeout-blocked.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[eval-scripts-setTimeout-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
deleted file mode 100644
--- a/testing/web-platform/meta/content-security-policy/unsafe-eval/function-constructor-blocked.sub.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[function-constructor-blocked.sub.html]
-  prefs: [security.csp.enable_violation_events:true]
--- a/testing/web-platform/meta/content-security-policy/unsafe-hashed-attributes/script_event_handlers_allowed.html.ini
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashed-attributes/script_event_handlers_allowed.html.ini
@@ -1,5 +1,4 @@
 [script_event_handlers_allowed.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Test that the inline event handler is allowed to run]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/unsafe-hashed-attributes/script_event_handlers_denied_matching_hash_no_unsafe_inline_attribute.html.ini
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashed-attributes/script_event_handlers_denied_matching_hash_no_unsafe_inline_attribute.html.ini
@@ -1,5 +1,4 @@
 [script_event_handlers_denied_matching_hash_no_unsafe_inline_attribute.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Test that the inline event handler is not allowed to run]
     expected: FAIL
 
--- a/testing/web-platform/meta/content-security-policy/unsafe-hashed-attributes/script_event_handlers_denied_not_matching_hash.html.ini
+++ b/testing/web-platform/meta/content-security-policy/unsafe-hashed-attributes/script_event_handlers_denied_not_matching_hash.html.ini
@@ -1,5 +1,4 @@
 [script_event_handlers_denied_not_matching_hash.html]
-  prefs: [security.csp.enable_violation_events:true]
   [Test that the inline event handler is not allowed to run]
     expected: FAIL