diff --git a/testing/web-platform/meta/content-security-policy/base-uri/report-uri-does-not-respect-base-uri.sub.html.ini b/testing/web-platform/meta/content-security-policy/base-uri/report-uri-does-not-respect-base-uri.sub.html.ini index 66aefa9bd9f5..a01d37b2153d 100644 --- a/testing/web-platform/meta/content-security-policy/base-uri/report-uri-does-not-respect-base-uri.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/base-uri/report-uri-does-not-respect-base-uri.sub.html.ini @@ -1,5 +1,3 @@ [report-uri-does-not-respect-base-uri.sub.html] prefs: [security.csp.enable_violation_events:true] - [Event is fired] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/blob/blob-urls-do-not-match-self.sub.html.ini b/testing/web-platform/meta/content-security-policy/blob/blob-urls-do-not-match-self.sub.html.ini index 9809bc29a73e..3cb050307f98 100644 --- a/testing/web-platform/meta/content-security-policy/blob/blob-urls-do-not-match-self.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/blob/blob-urls-do-not-match-self.sub.html.ini @@ -1,4 +1,3 @@ [blob-urls-do-not-match-self.sub.html] - [Expecting logs: ["violated-directive=script-src"\]] - expected: FAIL + prefs: [security.csp.enable_violation_events:true] diff --git 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 index 3e0a12558b57..9a3f7323add2 100644 --- 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,10 +1,9 @@ [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 - [Expecting logs: ["Pass", "violated-directive=connect-src"\]] - expected: FAIL - diff --git a/testing/web-platform/meta/content-security-policy/connect-src/connect-src-beacon-redirect-to-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/connect-src/connect-src-beacon-redirect-to-blocked.sub.html.ini index 4222003cf6a2..496b75596d7d 100644 --- a/testing/web-platform/meta/content-security-policy/connect-src/connect-src-beacon-redirect-to-blocked.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/connect-src/connect-src-beacon-redirect-to-blocked.sub.html.ini @@ -1,4 +1,3 @@ [connect-src-beacon-redirect-to-blocked.sub.html] - [Expecting logs: ["violated-directive=connect-src"\]] - expected: FAIL + prefs: [security.csp.enable_violation_events:true] diff --git a/testing/web-platform/meta/content-security-policy/connect-src/connect-src-eventsource-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/connect-src/connect-src-eventsource-blocked.sub.html.ini index e25737652c09..99c76995584a 100644 --- a/testing/web-platform/meta/content-security-policy/connect-src/connect-src-eventsource-blocked.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/connect-src/connect-src-eventsource-blocked.sub.html.ini @@ -1,4 +1,4 @@ [connect-src-eventsource-blocked.sub.html] - [Expecting logs: ["Pass","violated-directive=connect-src"\]] - expected: FAIL + type: testharness + prefs: [security.csp.enable_violation_events:true] diff --git 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 index 15cb1b1c18fb..098e87f57f63 100644 --- 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,7 +1,6 @@ [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 - [Expecting logs: ["PASS EventSource() did not follow the disallowed redirect.","TEST COMPLETE", "violated-directive=connect-src"\]] - expected: FAIL - diff --git 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 index d912007bb827..e99ec693ed7d 100644 --- 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,7 +1,6 @@ [connect-src-websocket-blocked.sub.html] + type: testharness + prefs: [security.csp.enable_violation_events:true] [WebSocket should fire error event.] expected: FAIL - [Expecting logs: ["Pass","violated-directive=connect-src"\]] - expected: FAIL - diff --git 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 index 781f857debfa..b2194168da32 100644 --- 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 @@ -6,6 +6,3 @@ [XHR should fire onerror after a redirect.] expected: FAIL - [Expecting logs: ["Pass","violated-directive=connect-src"\]] - expected: FAIL - diff --git a/testing/web-platform/meta/content-security-policy/connect-src/connect-src-xmlhttprequest-redirect-to-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/connect-src/connect-src-xmlhttprequest-redirect-to-blocked.sub.html.ini index 723c1469a879..c5fab72ccb0d 100644 --- a/testing/web-platform/meta/content-security-policy/connect-src/connect-src-xmlhttprequest-redirect-to-blocked.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/connect-src/connect-src-xmlhttprequest-redirect-to-blocked.sub.html.ini @@ -1,4 +1,3 @@ [connect-src-xmlhttprequest-redirect-to-blocked.sub.html] - [Expecting logs: ["PASS XMLHttpRequest.send() did not follow the disallowed redirect.","TEST COMPLETE","violated-directive=connect-src"\]] - expected: FAIL + prefs: [security.csp.enable_violation_events:true] diff --git a/testing/web-platform/meta/content-security-policy/connect-src/worker-from-guid.sub.html.ini b/testing/web-platform/meta/content-security-policy/connect-src/worker-from-guid.sub.html.ini index 3af24d2bca01..e2168562faa6 100644 --- a/testing/web-platform/meta/content-security-policy/connect-src/worker-from-guid.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/connect-src/worker-from-guid.sub.html.ini @@ -1,4 +1,3 @@ [worker-from-guid.sub.html] - [Expecting logs: ["violated-directive=connect-src","xhr blocked","TEST COMPLETE"\]] - expected: FAIL + prefs: [security.csp.enable_violation_events:true] diff --git a/testing/web-platform/meta/content-security-policy/font-src/font-stylesheet-font-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/font-src/font-stylesheet-font-blocked.sub.html.ini index 2dc22204af48..01644f42bbe0 100644 --- a/testing/web-platform/meta/content-security-policy/font-src/font-stylesheet-font-blocked.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/font-src/font-stylesheet-font-blocked.sub.html.ini @@ -1,5 +1,3 @@ [font-stylesheet-font-blocked.sub.html] prefs: [security.csp.enable_violation_events:true] - [Test font does not load if it does not match font-src.] - expected: FAIL diff --git 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 index bf7af988c28a..56f8b69b5437 100644 --- 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,7 +1,6 @@ [form-action-src-blocked.sub.html] + type: testharness + prefs: [security.csp.enable_violation_events:true] [form-action-src-blocked] expected: FAIL - [Expecting logs: ["violated-directive=form-action","TEST COMPLETE"\]] - expected: FAIL - diff --git 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 index 90bfd2eb6639..b632b598296c 100644 --- 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,7 +1,6 @@ [form-action-src-get-blocked.sub.html] + type: testharness + prefs: [security.csp.enable_violation_events:true] [form-action-src-allowed] expected: FAIL - [Expecting logs: ["violated-directive=form-action","TEST COMPLETE"\]] - expected: FAIL - diff --git 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 index 9d0edaa561b1..c11de025f68e 100644 --- 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,7 +1,6 @@ [form-action-src-javascript-blocked.sub.html] + type: testharness + prefs: [security.csp.enable_violation_events:true] [form-action-src-javascript-blocked] expected: FAIL - [Expecting logs: ["violated-directive=form-action","TEST COMPLETE"\]] - expected: FAIL - diff --git a/testing/web-platform/meta/content-security-policy/generic/generic-0_10_1.sub.html.ini b/testing/web-platform/meta/content-security-policy/generic/generic-0_10_1.sub.html.ini index 49c8cdf32458..7baa5e9686d9 100644 --- a/testing/web-platform/meta/content-security-policy/generic/generic-0_10_1.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/generic/generic-0_10_1.sub.html.ini @@ -1,5 +1,3 @@ [generic-0_10_1.sub.html] prefs: [security.csp.enable_violation_events:true] - [Should fire violation events for every failed violation] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/generic/generic-0_2_2.sub.html.ini b/testing/web-platform/meta/content-security-policy/generic/generic-0_2_2.sub.html.ini index 66a72f6b0f5c..f638456bbd2f 100644 --- a/testing/web-platform/meta/content-security-policy/generic/generic-0_2_2.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/generic/generic-0_2_2.sub.html.ini @@ -1,5 +1,3 @@ [generic-0_2_2.sub.html] prefs: [security.csp.enable_violation_events:true] - [Should fire violation events for every failed violation] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/generic/generic-0_2_3.html.ini b/testing/web-platform/meta/content-security-policy/generic/generic-0_2_3.html.ini index d6b857c21948..37b2564bce25 100644 --- a/testing/web-platform/meta/content-security-policy/generic/generic-0_2_3.html.ini +++ b/testing/web-platform/meta/content-security-policy/generic/generic-0_2_3.html.ini @@ -1,5 +1,3 @@ [generic-0_2_3.html] prefs: [security.csp.enable_violation_events:true] - [Should fire violation events for every failed violation] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/generic/generic-0_8_1.sub.html.ini b/testing/web-platform/meta/content-security-policy/generic/generic-0_8_1.sub.html.ini index 03a1db9f4f34..0048dfcbd8ea 100644 --- a/testing/web-platform/meta/content-security-policy/generic/generic-0_8_1.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/generic/generic-0_8_1.sub.html.ini @@ -1,5 +1,3 @@ [generic-0_8_1.sub.html] prefs: [security.csp.enable_violation_events:true] - [Should fire violation events for every failed violation] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/img-src/report-blocked-data-uri.sub.html.ini b/testing/web-platform/meta/content-security-policy/img-src/report-blocked-data-uri.sub.html.ini index a312f653f376..c5ba7a741278 100644 --- a/testing/web-platform/meta/content-security-policy/img-src/report-blocked-data-uri.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/img-src/report-blocked-data-uri.sub.html.ini @@ -1,4 +1,3 @@ [report-blocked-data-uri.sub.html] - [Expecting logs: ["violated-directive=img-src"\]] - expected: FAIL + prefs: [security.csp.enable_violation_events:true] diff --git a/testing/web-platform/meta/content-security-policy/object-src/object-src-url-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/object-src/object-src-url-blocked.sub.html.ini index 22bd10785100..023c9d609d44 100644 --- a/testing/web-platform/meta/content-security-policy/object-src/object-src-url-blocked.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/object-src/object-src-url-blocked.sub.html.ini @@ -1,4 +1,3 @@ [object-src-url-blocked.sub.html] - [Expecting logs: ["violated-directive=object-src"\]] - expected: FAIL + prefs: [security.csp.enable_violation_events:true] diff --git a/testing/web-platform/meta/content-security-policy/reporting/reporting-api-report-only-sends-reports-on-violation.https.sub.html.ini b/testing/web-platform/meta/content-security-policy/reporting/reporting-api-report-only-sends-reports-on-violation.https.sub.html.ini index a0bb8d5088e0..df26adaf6006 100644 --- a/testing/web-platform/meta/content-security-policy/reporting/reporting-api-report-only-sends-reports-on-violation.https.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/reporting/reporting-api-report-only-sends-reports-on-violation.https.sub.html.ini @@ -1,8 +1,5 @@ [reporting-api-report-only-sends-reports-on-violation.https.sub.html] prefs: [security.csp.enable_violation_events:true] - [Event is fired] - expected: FAIL - [Violation report status OK.] expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/reporting/reporting-api-report-to-overrides-report-uri-1.https.sub.html.ini b/testing/web-platform/meta/content-security-policy/reporting/reporting-api-report-to-overrides-report-uri-1.https.sub.html.ini index 8ed7ea7b023c..6b284398541d 100644 --- a/testing/web-platform/meta/content-security-policy/reporting/reporting-api-report-to-overrides-report-uri-1.https.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/reporting/reporting-api-report-to-overrides-report-uri-1.https.sub.html.ini @@ -1,5 +1,3 @@ [reporting-api-report-to-overrides-report-uri-1.https.sub.html] prefs: [security.csp.enable_violation_events:true] - [Event is fired] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/reporting/reporting-api-report-to-overrides-report-uri-2.https.sub.html.ini b/testing/web-platform/meta/content-security-policy/reporting/reporting-api-report-to-overrides-report-uri-2.https.sub.html.ini index 0e31e0a254a1..fd0ea2374cb0 100644 --- a/testing/web-platform/meta/content-security-policy/reporting/reporting-api-report-to-overrides-report-uri-2.https.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/reporting/reporting-api-report-to-overrides-report-uri-2.https.sub.html.ini @@ -1,5 +1,3 @@ [reporting-api-report-to-overrides-report-uri-2.https.sub.html] prefs: [security.csp.enable_violation_events:true] - [Event is fired] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/reporting/reporting-api-sends-reports-on-violation.https.sub.html.ini b/testing/web-platform/meta/content-security-policy/reporting/reporting-api-sends-reports-on-violation.https.sub.html.ini index 11dcca55dd7a..5193a05f3cc0 100644 --- a/testing/web-platform/meta/content-security-policy/reporting/reporting-api-sends-reports-on-violation.https.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/reporting/reporting-api-sends-reports-on-violation.https.sub.html.ini @@ -1,8 +1,5 @@ [reporting-api-sends-reports-on-violation.https.sub.html] prefs: [security.csp.enable_violation_events:true] - [Event is fired] - expected: FAIL - [Violation report status OK.] expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/script-src/injected-inline-script-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/script-src/injected-inline-script-blocked.sub.html.ini index 303196d8833c..3227e75da61d 100644 --- a/testing/web-platform/meta/content-security-policy/script-src/injected-inline-script-blocked.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/script-src/injected-inline-script-blocked.sub.html.ini @@ -1,4 +1,3 @@ [injected-inline-script-blocked.sub.html] - [Expecting logs: ["violated-directive=script-src",\]] - expected: FAIL + prefs: [security.csp.enable_violation_events:true] diff --git a/testing/web-platform/meta/content-security-policy/script-src/script-src-1_1.html.ini b/testing/web-platform/meta/content-security-policy/script-src/script-src-1_1.html.ini index cbf4b1d1f108..db503c17b6ed 100644 --- a/testing/web-platform/meta/content-security-policy/script-src/script-src-1_1.html.ini +++ b/testing/web-platform/meta/content-security-policy/script-src/script-src-1_1.html.ini @@ -1,5 +1,3 @@ [script-src-1_1.html] prefs: [security.csp.enable_violation_events:true] - [Should not fire policy violation events] - expected: FAIL diff --git 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 index e70c9fd60957..544886175bb6 100644 --- 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 @@ -2,6 +2,4 @@ disabled: if os == "win": bug 1172411 prefs: [security.csp.enable_violation_events:true] - [Should not fire policy violation events] - expected: FAIL diff --git 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 index 9a300b4aec4b..563a9cd3b06f 100644 --- 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 @@ -2,6 +2,4 @@ disabled: if os == "win": bug 1094323 prefs: [security.csp.enable_violation_events:true] - [Test that securitypolicyviolation event is fired] - expected: FAIL diff --git 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 index 4644eac40e73..a34ac5f9a2ba 100644 --- 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 @@ -3,6 +3,3 @@ [eval() should throw without 'unsafe-eval' keyword source in script-src directive.] expected: FAIL - [Test that securitypolicyviolation event is fired] - expected: FAIL - diff --git 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 index 67eeb2550bc3..cf6e35f677e4 100644 --- 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 @@ -2,6 +2,4 @@ disabled: if os == "win": bug 1094323 prefs: [security.csp.enable_violation_events:true] - [Test that securitypolicyviolation event is fired] - expected: FAIL diff --git 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 index 3027ef0d5c5e..86ddad79ed10 100644 --- 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 @@ -3,6 +3,3 @@ [Unsafe eval ran in Function() constructor.] expected: FAIL - [Test that securitypolicyviolation event is fired] - expected: FAIL - diff --git a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_discard_whitelist.html.ini b/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_discard_whitelist.html.ini index ecd5449d93b0..3364ac9041a2 100644 --- a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_discard_whitelist.html.ini +++ b/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_discard_whitelist.html.ini @@ -1,5 +1,3 @@ [script-src-strict_dynamic_discard_whitelist.html] prefs: [security.csp.enable_violation_events:true] - [Whitelisted script without a correct nonce is not allowed with `strict-dynamic`.] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_double_policy_different_nonce.html.ini b/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_double_policy_different_nonce.html.ini index fc0c433a1d80..6b282240eac0 100644 --- a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_double_policy_different_nonce.html.ini +++ b/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_double_policy_different_nonce.html.ini @@ -1,5 +1,3 @@ [script-src-strict_dynamic_double_policy_different_nonce.html] prefs: [security.csp.enable_violation_events:true] - [Unnonced script injected via `appendChild` is not allowed with `strict-dynamic` + a nonce-only double policy.] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_double_policy_report_only.html.ini b/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_double_policy_report_only.html.ini index e3b45fcbd7d9..7e6d1a302399 100644 --- a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_double_policy_report_only.html.ini +++ b/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_double_policy_report_only.html.ini @@ -1,5 +1,4 @@ [script-src-strict_dynamic_double_policy_report_only.html] + type: testharness prefs: [security.csp.enable_violation_events:true] - [Script injected via `appendChild` is allowed with `strict-dynamic` + Report-Only `script-src 'none'` policy.] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_javascript_uri.html.ini b/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_javascript_uri.html.ini index b3d1a425c31b..1d73ff810539 100644 --- a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_javascript_uri.html.ini +++ b/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_javascript_uri.html.ini @@ -1,5 +1,3 @@ [script-src-strict_dynamic_javascript_uri.html] prefs: [security.csp.enable_violation_events:true] - [Script injected via `javascript:` URIs are not allowed with `strict-dynamic`.] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_non_parser_inserted_incorrect_nonce.html.ini b/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_non_parser_inserted_incorrect_nonce.html.ini index 96aca788876f..14f5d166fd25 100644 --- a/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_non_parser_inserted_incorrect_nonce.html.ini +++ b/testing/web-platform/meta/content-security-policy/script-src/script-src-strict_dynamic_non_parser_inserted_incorrect_nonce.html.ini @@ -1,5 +1,3 @@ [script-src-strict_dynamic_non_parser_inserted_incorrect_nonce.html] prefs: [security.csp.enable_violation_events:true] - [All the expected CSP violation reports have been fired.] - expected: FAIL diff --git 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 index 2cd6007dda52..ad37731cd25e 100644 --- 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,30 +1,6 @@ [script-src-strict_dynamic_parser_inserted.html] expected: TIMEOUT prefs: [security.csp.enable_violation_events:true] - [Parser-inserted script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.] - expected: FAIL - - [Parser-inserted script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.] - expected: FAIL - - [Parser-inserted deferred script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.] - expected: FAIL - - [Parser-inserted deferred script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.] - expected: FAIL - - [Parser-inserted async script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.] - expected: FAIL - - [Parser-inserted async script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.] - expected: FAIL - - [Parser-inserted deferred async script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.] - expected: FAIL - - [Parser-inserted deferred async script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.] - expected: FAIL - [Script injected via `innerHTML` is not allowed with `strict-dynamic`.] expected: TIMEOUT diff --git a/testing/web-platform/meta/content-security-policy/script-src/scripthash-unicode-normalization.sub.html.ini b/testing/web-platform/meta/content-security-policy/script-src/scripthash-unicode-normalization.sub.html.ini index cce73aee9d23..ed42404431de 100644 --- a/testing/web-platform/meta/content-security-policy/script-src/scripthash-unicode-normalization.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/script-src/scripthash-unicode-normalization.sub.html.ini @@ -1,5 +1,3 @@ [scripthash-unicode-normalization.sub.html] prefs: [security.csp.enable_violation_events:true] - [Should fire securitypolicyviolation] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/script-src/scriptnonce-and-scripthash.sub.html.ini b/testing/web-platform/meta/content-security-policy/script-src/scriptnonce-and-scripthash.sub.html.ini index a35097aaa127..155e0941ed18 100644 --- a/testing/web-platform/meta/content-security-policy/script-src/scriptnonce-and-scripthash.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/script-src/scriptnonce-and-scripthash.sub.html.ini @@ -1,5 +1,3 @@ [scriptnonce-and-scripthash.sub.html] prefs: [security.csp.enable_violation_events:true] - [Expecting alerts: ["PASS (1/3)","PASS (2/3)","PASS (3/3)"\]] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/script-src/scriptnonce-ignore-unsafeinline.sub.html.ini b/testing/web-platform/meta/content-security-policy/script-src/scriptnonce-ignore-unsafeinline.sub.html.ini index ae69ab9b57b2..3d0cd56e9af3 100644 --- a/testing/web-platform/meta/content-security-policy/script-src/scriptnonce-ignore-unsafeinline.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/script-src/scriptnonce-ignore-unsafeinline.sub.html.ini @@ -1,5 +1,3 @@ [scriptnonce-ignore-unsafeinline.sub.html] prefs: [security.csp.enable_violation_events:true] - [Expecting alerts: ["PASS (1/2)","PASS (2/2)", "violated-directive=script-src"\]] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-image.sub.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-image.sub.html.ini index 7b9372b5a687..5ffd0e930be2 100644 --- a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-image.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-image.sub.html.ini @@ -1,5 +1,3 @@ [securitypolicyviolation-block-image.sub.html] prefs: [security.csp.enable_violation_events:true] - [Non-redirected same-origin URLs are not stripped.] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/upgrade-insecure-requests-reporting.https.html.ini b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/upgrade-insecure-requests-reporting.https.html.ini index 3991d67355b2..e7990febc646 100644 --- a/testing/web-platform/meta/content-security-policy/securitypolicyviolation/upgrade-insecure-requests-reporting.https.html.ini +++ b/testing/web-platform/meta/content-security-policy/securitypolicyviolation/upgrade-insecure-requests-reporting.https.html.ini @@ -1,11 +1,4 @@ [upgrade-insecure-requests-reporting.https.html] - expected: TIMEOUT - [Upgraded image is reported] - expected: TIMEOUT - - [Upgraded iframe is reported] - expected: TIMEOUT - - [Navigated iframe is upgraded and reported] - expected: TIMEOUT + type: testharness + prefs: [security.csp.enable_violation_events:true] diff --git a/testing/web-platform/meta/content-security-policy/style-src/injected-inline-style-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/style-src/injected-inline-style-blocked.sub.html.ini index 13dc001a23d8..67031bfacb4c 100644 --- a/testing/web-platform/meta/content-security-policy/style-src/injected-inline-style-blocked.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/style-src/injected-inline-style-blocked.sub.html.ini @@ -1,4 +1,3 @@ [injected-inline-style-blocked.sub.html] - [Expecting logs: ["violated-directive=style-src","PASS"\]] - expected: FAIL + prefs: [security.csp.enable_violation_events:true] diff --git a/testing/web-platform/meta/content-security-policy/style-src/inline-style-allowed-while-cloning-objects.sub.html.ini b/testing/web-platform/meta/content-security-policy/style-src/inline-style-allowed-while-cloning-objects.sub.html.ini index 4fa1e49c217e..6b2760c4b70a 100644 --- a/testing/web-platform/meta/content-security-policy/style-src/inline-style-allowed-while-cloning-objects.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/style-src/inline-style-allowed-while-cloning-objects.sub.html.ini @@ -1,5 +1,3 @@ [inline-style-allowed-while-cloning-objects.sub.html] prefs: [security.csp.enable_violation_events:true] - [Test that violation report event was fired] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/style-src/inline-style-attribute-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/style-src/inline-style-attribute-blocked.sub.html.ini index 56551afdc43a..f16cee58f5bb 100644 --- a/testing/web-platform/meta/content-security-policy/style-src/inline-style-attribute-blocked.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/style-src/inline-style-attribute-blocked.sub.html.ini @@ -1,4 +1,3 @@ [inline-style-attribute-blocked.sub.html] - [Expecting logs: ["violated-directive=style-src","PASS"\]] - expected: FAIL + prefs: [security.csp.enable_violation_events:true] diff --git a/testing/web-platform/meta/content-security-policy/style-src/style-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/style-src/style-blocked.sub.html.ini index 5e358cf9d9f8..4bb5cdb808f1 100644 --- a/testing/web-platform/meta/content-security-policy/style-src/style-blocked.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/style-src/style-blocked.sub.html.ini @@ -1,4 +1,3 @@ [style-blocked.sub.html] - [Expecting logs: ["violated-directive=style-src","PASS"\]] - expected: FAIL + prefs: [security.csp.enable_violation_events:true] diff --git a/testing/web-platform/meta/content-security-policy/style-src/style-src-hash-blocked.html.ini b/testing/web-platform/meta/content-security-policy/style-src/style-src-hash-blocked.html.ini index 704c7c696e87..7d82ec7da8fe 100644 --- a/testing/web-platform/meta/content-security-policy/style-src/style-src-hash-blocked.html.ini +++ b/testing/web-platform/meta/content-security-policy/style-src/style-src-hash-blocked.html.ini @@ -1,5 +1,3 @@ [style-src-hash-blocked.html] prefs: [security.csp.enable_violation_events:true] - [Should fire a securitypolicyviolation event] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/style-src/style-src-imported-style-blocked.html.ini b/testing/web-platform/meta/content-security-policy/style-src/style-src-imported-style-blocked.html.ini index 764dfdbee48a..13ed98046c77 100644 --- a/testing/web-platform/meta/content-security-policy/style-src/style-src-imported-style-blocked.html.ini +++ b/testing/web-platform/meta/content-security-policy/style-src/style-src-imported-style-blocked.html.ini @@ -1,5 +1,4 @@ [style-src-imported-style-blocked.html] + type: testharness prefs: [security.csp.enable_violation_events:true] - [Should fire a securitypolicyviolation event] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/style-src/style-src-injected-inline-style-blocked.html.ini b/testing/web-platform/meta/content-security-policy/style-src/style-src-injected-inline-style-blocked.html.ini index 614cb92f57bd..e2124e8ccce4 100644 --- a/testing/web-platform/meta/content-security-policy/style-src/style-src-injected-inline-style-blocked.html.ini +++ b/testing/web-platform/meta/content-security-policy/style-src/style-src-injected-inline-style-blocked.html.ini @@ -1,5 +1,3 @@ [style-src-injected-inline-style-blocked.html] prefs: [security.csp.enable_violation_events:true] - [Should fire a securitypolicyviolation event] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/style-src/style-src-injected-stylesheet-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/style-src/style-src-injected-stylesheet-blocked.sub.html.ini index ff923640a2b2..ce316baa3746 100644 --- a/testing/web-platform/meta/content-security-policy/style-src/style-src-injected-stylesheet-blocked.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/style-src/style-src-injected-stylesheet-blocked.sub.html.ini @@ -1,5 +1,3 @@ [style-src-injected-stylesheet-blocked.sub.html] prefs: [security.csp.enable_violation_events:true] - [Should fire a securitypolicyviolation event] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-attribute-blocked.html.ini b/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-attribute-blocked.html.ini index 8db863fd9584..e722c5ab5274 100644 --- a/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-attribute-blocked.html.ini +++ b/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-attribute-blocked.html.ini @@ -1,5 +1,3 @@ [style-src-inline-style-attribute-blocked.html] prefs: [security.csp.enable_violation_events:true] - [Should fire a securitypolicyviolation event] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-blocked.html.ini b/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-blocked.html.ini index 927805ebfe46..6fed50d2779d 100644 --- a/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-blocked.html.ini +++ b/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-blocked.html.ini @@ -1,5 +1,3 @@ [style-src-inline-style-blocked.html] prefs: [security.csp.enable_violation_events:true] - [Should fire a securitypolicyviolation event] - expected: FAIL diff --git 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 index 270e17f64d9a..8b06ebe3d4bc 100644 --- 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,9 +1,6 @@ [style-src-inline-style-nonce-blocked-error-event.html] expected: TIMEOUT prefs: [security.csp.enable_violation_events:true] - [Should fire a securitypolicyviolation event] - expected: FAIL - [Test that paragraph remains unmodified and error events received.] expected: NOTRUN diff --git a/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-nonce-blocked.html.ini b/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-nonce-blocked.html.ini index 037ada9b6b44..1920e1904f6b 100644 --- a/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-nonce-blocked.html.ini +++ b/testing/web-platform/meta/content-security-policy/style-src/style-src-inline-style-nonce-blocked.html.ini @@ -1,5 +1,3 @@ [style-src-inline-style-nonce-blocked.html] prefs: [security.csp.enable_violation_events:true] - [Should fire a securitypolicyviolation event] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/style-src/style-src-none-blocked.html.ini b/testing/web-platform/meta/content-security-policy/style-src/style-src-none-blocked.html.ini index 71bb34cb57ec..280fe00d3947 100644 --- a/testing/web-platform/meta/content-security-policy/style-src/style-src-none-blocked.html.ini +++ b/testing/web-platform/meta/content-security-policy/style-src/style-src-none-blocked.html.ini @@ -1,5 +1,3 @@ [style-src-none-blocked.html] prefs: [security.csp.enable_violation_events:true] - [Should fire a securitypolicyviolation event] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/style-src/style-src-stylesheet-nonce-blocked.html.ini b/testing/web-platform/meta/content-security-policy/style-src/style-src-stylesheet-nonce-blocked.html.ini index c6143973dc43..efb73617207b 100644 --- a/testing/web-platform/meta/content-security-policy/style-src/style-src-stylesheet-nonce-blocked.html.ini +++ b/testing/web-platform/meta/content-security-policy/style-src/style-src-stylesheet-nonce-blocked.html.ini @@ -1,5 +1,3 @@ [style-src-stylesheet-nonce-blocked.html] prefs: [security.csp.enable_violation_events:true] - [Should fire a securitypolicyviolation event] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/style-src/stylehash-basic-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/style-src/stylehash-basic-blocked.sub.html.ini index 4e858573def3..5623b31472e4 100644 --- a/testing/web-platform/meta/content-security-policy/style-src/stylehash-basic-blocked.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/style-src/stylehash-basic-blocked.sub.html.ini @@ -1,5 +1,3 @@ [stylehash-basic-blocked.sub.html] prefs: [security.csp.enable_violation_events:true] - [Expecting alerts: ["PASS: The 'p' element's text is green, which means the style was correctly applied.", "violated-directive=style-src"\]] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/style-src/stylenonce-allowed.sub.html.ini b/testing/web-platform/meta/content-security-policy/style-src/stylenonce-allowed.sub.html.ini index 4aa93f53f027..4489c4a1e53d 100644 --- a/testing/web-platform/meta/content-security-policy/style-src/stylenonce-allowed.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/style-src/stylenonce-allowed.sub.html.ini @@ -1,5 +1,4 @@ [stylenonce-allowed.sub.html] + type: testharness prefs: [security.csp.enable_violation_events:true] - [Should fire securitypolicyviolation] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/style-src/stylenonce-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/style-src/stylenonce-blocked.sub.html.ini index 6da9c4640f81..05c8882972c6 100644 --- a/testing/web-platform/meta/content-security-policy/style-src/stylenonce-blocked.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/style-src/stylenonce-blocked.sub.html.ini @@ -1,5 +1,4 @@ [stylenonce-blocked.sub.html] + type: testharness prefs: [security.csp.enable_violation_events:true] - [Should fire securitypolicyviolation] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/svg/object-in-svg-foreignobject.sub.html.ini b/testing/web-platform/meta/content-security-policy/svg/object-in-svg-foreignobject.sub.html.ini index 845a2e8f1e71..80c9eab7fa6d 100644 --- a/testing/web-platform/meta/content-security-policy/svg/object-in-svg-foreignobject.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/svg/object-in-svg-foreignobject.sub.html.ini @@ -1,5 +1,3 @@ [object-in-svg-foreignobject.sub.html] prefs: [security.csp.enable_violation_events:true] - [Should throw a securitypolicyviolation] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/svg/svg-inline.sub.html.ini b/testing/web-platform/meta/content-security-policy/svg/svg-inline.sub.html.ini index ca5faf59d25d..9c49cf1bfd15 100644 --- a/testing/web-platform/meta/content-security-policy/svg/svg-inline.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/svg/svg-inline.sub.html.ini @@ -1,5 +1,3 @@ [svg-inline.sub.html] prefs: [security.csp.enable_violation_events:true] - [Should fire violation event] - expected: FAIL diff --git a/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-blocked-and-sends-report.sub.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-blocked-and-sends-report.sub.html.ini index 8370b0fc6c47..ad86a8a094a1 100644 --- a/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-blocked-and-sends-report.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-blocked-and-sends-report.sub.html.ini @@ -1,4 +1,3 @@ [eval-blocked-and-sends-report.sub.html] - [Expecting logs: ["PASS: eval() blocked.","violated-directive=script-src"\]] - expected: FAIL + prefs: [security.csp.enable_violation_events:true] diff --git a/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-blocked.sub.html.ini index f5eab6bae070..830e9264badc 100644 --- a/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-blocked.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-blocked.sub.html.ini @@ -1,4 +1,3 @@ [eval-blocked.sub.html] - [Expecting logs: ["PASS EvalError","PASS EvalError", "violated-directive=script-src"\]] - expected: FAIL + prefs: [security.csp.enable_violation_events:true] diff --git a/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-scripts-setInterval-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-scripts-setInterval-blocked.sub.html.ini index 08d34752baff..1c8dff623dfb 100644 --- a/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-scripts-setInterval-blocked.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-scripts-setInterval-blocked.sub.html.ini @@ -1,4 +1,3 @@ [eval-scripts-setInterval-blocked.sub.html] - [Expecting logs: ["PASS","violated-directive=script-src"\]] - expected: FAIL + prefs: [security.csp.enable_violation_events:true] diff --git a/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-scripts-setTimeout-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-scripts-setTimeout-blocked.sub.html.ini index f5abc08e8e84..b0a81d72ba1e 100644 --- a/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-scripts-setTimeout-blocked.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/unsafe-eval/eval-scripts-setTimeout-blocked.sub.html.ini @@ -1,4 +1,3 @@ [eval-scripts-setTimeout-blocked.sub.html] - [Expecting logs: ["PASS","violated-directive=script-src"\]] - expected: FAIL + prefs: [security.csp.enable_violation_events:true] diff --git a/testing/web-platform/meta/content-security-policy/unsafe-eval/function-constructor-blocked.sub.html.ini b/testing/web-platform/meta/content-security-policy/unsafe-eval/function-constructor-blocked.sub.html.ini index 4bd3c37056bf..4e78816c948f 100644 --- a/testing/web-platform/meta/content-security-policy/unsafe-eval/function-constructor-blocked.sub.html.ini +++ b/testing/web-platform/meta/content-security-policy/unsafe-eval/function-constructor-blocked.sub.html.ini @@ -1,4 +1,3 @@ [function-constructor-blocked.sub.html] - [Expecting logs: ["PASS EvalError","violated-directive=script-src"\]] - expected: FAIL + prefs: [security.csp.enable_violation_events:true]