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-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/content-security-policy/reporting-api
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
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.ini9
-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, 43 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..e2e45b48cf
--- /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,9 @@
+[report-to-directive-allowed-in-meta.https.sub.html]
+ disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1845961
+ 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