summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/content-security-policy/reporting-api
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/content-security-policy/reporting-api
parentInitial commit. (diff)
downloadfirefox-esr-upstream.tar.xz
firefox-esr-upstream.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/content-security-policy/reporting-api')
-rw-r--r--testing/web-platform/meta/content-security-policy/reporting-api/__dir__.ini1
-rw-r--r--testing/web-platform/meta/content-security-policy/reporting-api/report-to-directive-allowed-in-meta.https.sub.html.ini8
-rw-r--r--testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-report-only-sends-reports-on-violation.https.sub.html.ini5
-rw-r--r--testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-report-to-only-sends-reports-to-first-endpoint.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-report-to-overrides-report-uri-1.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-report-to-overrides-report-uri-2.https.sub.html.ini3
-rw-r--r--testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-sends-reports-on-violation.https.sub.html.ini9
-rw-r--r--testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-works-on-frame-ancestors.https.sub.html.ini5
-rw-r--r--testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-works-on-frame-src.https.sub.html.ini5
9 files changed, 42 insertions, 0 deletions
diff --git a/testing/web-platform/meta/content-security-policy/reporting-api/__dir__.ini b/testing/web-platform/meta/content-security-policy/reporting-api/__dir__.ini
new file mode 100644
index 0000000000..b67beb8e51
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/reporting-api/__dir__.ini
@@ -0,0 +1 @@
+prefs: [dom.reporting.enabled:true, dom.reporting.featurePolicy.enabled:true]
diff --git a/testing/web-platform/meta/content-security-policy/reporting-api/report-to-directive-allowed-in-meta.https.sub.html.ini b/testing/web-platform/meta/content-security-policy/reporting-api/report-to-directive-allowed-in-meta.https.sub.html.ini
new file mode 100644
index 0000000000..bfde45cbe7
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/reporting-api/report-to-directive-allowed-in-meta.https.sub.html.ini
@@ -0,0 +1,8 @@
+[report-to-directive-allowed-in-meta.https.sub.html]
+ expected: TIMEOUT
+ [Report is observable to ReportingObserver]
+ expected: TIMEOUT
+
+ [Violation report status OK.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-report-only-sends-reports-on-violation.https.sub.html.ini b/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-report-only-sends-reports-on-violation.https.sub.html.ini
new file mode 100644
index 0000000000..be6fd18762
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-report-only-sends-reports-on-violation.https.sub.html.ini
@@ -0,0 +1,5 @@
+[reporting-api-report-only-sends-reports-on-violation.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Violation report status OK.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-report-to-only-sends-reports-to-first-endpoint.https.sub.html.ini b/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-report-to-only-sends-reports-to-first-endpoint.https.sub.html.ini
new file mode 100644
index 0000000000..39bc351b02
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-report-to-only-sends-reports-to-first-endpoint.https.sub.html.ini
@@ -0,0 +1,3 @@
+[reporting-api-report-to-only-sends-reports-to-first-endpoint.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-report-to-overrides-report-uri-1.https.sub.html.ini b/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-report-to-overrides-report-uri-1.https.sub.html.ini
new file mode 100644
index 0000000000..eab757aac0
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-report-to-overrides-report-uri-1.https.sub.html.ini
@@ -0,0 +1,3 @@
+[reporting-api-report-to-overrides-report-uri-1.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-report-to-overrides-report-uri-2.https.sub.html.ini b/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-report-to-overrides-report-uri-2.https.sub.html.ini
new file mode 100644
index 0000000000..93f3f7db25
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-report-to-overrides-report-uri-2.https.sub.html.ini
@@ -0,0 +1,3 @@
+[reporting-api-report-to-overrides-report-uri-2.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-sends-reports-on-violation.https.sub.html.ini b/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-sends-reports-on-violation.https.sub.html.ini
new file mode 100644
index 0000000000..7da058a08b
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-sends-reports-on-violation.https.sub.html.ini
@@ -0,0 +1,9 @@
+implementation-status: backlog
+[reporting-api-sends-reports-on-violation.https.sub.html]
+ expected: TIMEOUT
+ [Violation report status OK.]
+ expected: [TIMEOUT, FAIL]
+
+ [Report is observable to ReportingObserver]
+ expected: TIMEOUT
+
diff --git a/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-works-on-frame-ancestors.https.sub.html.ini b/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-works-on-frame-ancestors.https.sub.html.ini
new file mode 100644
index 0000000000..f64578e746
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-works-on-frame-ancestors.https.sub.html.ini
@@ -0,0 +1,5 @@
+[reporting-api-works-on-frame-ancestors.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Violation report status OK.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-works-on-frame-src.https.sub.html.ini b/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-works-on-frame-src.https.sub.html.ini
new file mode 100644
index 0000000000..104a72cb89
--- /dev/null
+++ b/testing/web-platform/meta/content-security-policy/reporting-api/reporting-api-works-on-frame-src.https.sub.html.ini
@@ -0,0 +1,5 @@
+[reporting-api-works-on-frame-src.https.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Violation report status OK.]
+ expected: FAIL