summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/network-error-logging
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/network-error-logging
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/network-error-logging')
-rw-r--r--testing/web-platform/meta/network-error-logging/__dir__.ini2
-rw-r--r--testing/web-platform/meta/network-error-logging/no-report-on-failed-cors-preflight.https.html.ini6
-rw-r--r--testing/web-platform/meta/network-error-logging/no-report-on-subdomain-404.https.html.ini6
-rw-r--r--testing/web-platform/meta/network-error-logging/no-report-on-subdomain-success.https.html.ini8
-rw-r--r--testing/web-platform/meta/network-error-logging/no-report-on-unexpired-cached-response.https.html.ini6
-rw-r--r--testing/web-platform/meta/network-error-logging/sends-report-on-404.https.html.ini8
-rw-r--r--testing/web-platform/meta/network-error-logging/sends-report-on-cache-validation.https.html.ini8
-rw-r--r--testing/web-platform/meta/network-error-logging/sends-report-on-redirect.https.html.ini9
-rw-r--r--testing/web-platform/meta/network-error-logging/sends-report-on-subdomain-dns-failure.https.html.ini4
-rw-r--r--testing/web-platform/meta/network-error-logging/sends-report-on-success-with-subdomain-policy.https.html.ini8
-rw-r--r--testing/web-platform/meta/network-error-logging/sends-report-on-success.https.html.ini7
11 files changed, 72 insertions, 0 deletions
diff --git a/testing/web-platform/meta/network-error-logging/__dir__.ini b/testing/web-platform/meta/network-error-logging/__dir__.ini
new file mode 100644
index 0000000000..0efeee6329
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/__dir__.ini
@@ -0,0 +1,2 @@
+implementation-status: backlog
+prefs: [dom.reporting.enabled:true, dom.reporting.featurePolicy.enabled:true]
diff --git a/testing/web-platform/meta/network-error-logging/no-report-on-failed-cors-preflight.https.html.ini b/testing/web-platform/meta/network-error-logging/no-report-on-failed-cors-preflight.https.html.ini
new file mode 100644
index 0000000000..d7b99a5081
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/no-report-on-failed-cors-preflight.https.html.ini
@@ -0,0 +1,6 @@
+[no-report-on-failed-cors-preflight.https.html]
+ expected:
+ if os == "win": [OK, TIMEOUT]
+ [\n Test that NEL reports are not sent if the CORS preflight fails\n ]
+ expected:
+ if os == "win": [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/network-error-logging/no-report-on-subdomain-404.https.html.ini b/testing/web-platform/meta/network-error-logging/no-report-on-subdomain-404.https.html.ini
new file mode 100644
index 0000000000..f0acbfd6aa
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/no-report-on-subdomain-404.https.html.ini
@@ -0,0 +1,6 @@
+[no-report-on-subdomain-404.https.html]
+ expected:
+ if os == "win": [OK, TIMEOUT]
+ [\n Test that include_subdomains policies do NOT report HTTP errors\n ]
+ expected:
+ if os == "win": [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/network-error-logging/no-report-on-subdomain-success.https.html.ini b/testing/web-platform/meta/network-error-logging/no-report-on-subdomain-success.https.html.ini
new file mode 100644
index 0000000000..63a9072515
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/no-report-on-subdomain-success.https.html.ini
@@ -0,0 +1,8 @@
+[no-report-on-subdomain-success.https.html]
+ expected:
+ if os == "win": [OK, TIMEOUT]
+ if os == "mac": [OK, TIMEOUT]
+ [\n Test that include_subdomains policies do NOT report successful requests\n ]
+ expected:
+ if os == "mac": [PASS, TIMEOUT]
+ if os == "win": [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/network-error-logging/no-report-on-unexpired-cached-response.https.html.ini b/testing/web-platform/meta/network-error-logging/no-report-on-unexpired-cached-response.https.html.ini
new file mode 100644
index 0000000000..9f6ab67ac4
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/no-report-on-unexpired-cached-response.https.html.ini
@@ -0,0 +1,6 @@
+[no-report-on-unexpired-cached-response.https.html]
+ expected:
+ if os == "mac": [OK, TIMEOUT]
+ [\n Test that NEL reports are not sent for cached responses that don't hit the\n network\n ]
+ expected:
+ if os == "mac": [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/network-error-logging/sends-report-on-404.https.html.ini b/testing/web-platform/meta/network-error-logging/sends-report-on-404.https.html.ini
new file mode 100644
index 0000000000..d6521ec1ec
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/sends-report-on-404.https.html.ini
@@ -0,0 +1,8 @@
+[sends-report-on-404.https.html]
+ expected:
+ if (os == "mac") and debug: ["OK", "TIMEOUT"]
+ [\n Test that NEL reports are sent for HTTP errors\n ]
+ expected:
+ if (os == "mac") and debug: ["FAIL", "TIMEOUT"]
+ FAIL
+
diff --git a/testing/web-platform/meta/network-error-logging/sends-report-on-cache-validation.https.html.ini b/testing/web-platform/meta/network-error-logging/sends-report-on-cache-validation.https.html.ini
new file mode 100644
index 0000000000..413be58a16
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/sends-report-on-cache-validation.https.html.ini
@@ -0,0 +1,8 @@
+[sends-report-on-cache-validation.https.html]
+ expected:
+ if os == "linux": OK
+ [OK, TIMEOUT]
+ [\n Test that NEL reports are sent for cache validation requests\n ]
+ expected:
+ if os == "linux": FAIL
+ [FAIL, TIMEOUT]
diff --git a/testing/web-platform/meta/network-error-logging/sends-report-on-redirect.https.html.ini b/testing/web-platform/meta/network-error-logging/sends-report-on-redirect.https.html.ini
new file mode 100644
index 0000000000..99f2363fd0
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/sends-report-on-redirect.https.html.ini
@@ -0,0 +1,9 @@
+[sends-report-on-redirect.https.html]
+ expected:
+ if os == "win": [OK, TIMEOUT]
+ if os == "mac": [TIMEOUT, OK]
+ [\n Test that NEL reports are sent for redirects\n ]
+ expected:
+ if os == "win": [FAIL, TIMEOUT]
+ if os == "mac": [TIMEOUT, FAIL]
+ FAIL
diff --git a/testing/web-platform/meta/network-error-logging/sends-report-on-subdomain-dns-failure.https.html.ini b/testing/web-platform/meta/network-error-logging/sends-report-on-subdomain-dns-failure.https.html.ini
new file mode 100644
index 0000000000..1e58a1b62e
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/sends-report-on-subdomain-dns-failure.https.html.ini
@@ -0,0 +1,4 @@
+[sends-report-on-subdomain-dns-failure.https.html]
+ expected: [OK, TIMEOUT]
+ [\n Test that include_subdomains policies report DNS failures for subdomains\n ]
+ expected: [FAIL, TIMEOUT]
diff --git a/testing/web-platform/meta/network-error-logging/sends-report-on-success-with-subdomain-policy.https.html.ini b/testing/web-platform/meta/network-error-logging/sends-report-on-success-with-subdomain-policy.https.html.ini
new file mode 100644
index 0000000000..19b4a3ee13
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/sends-report-on-success-with-subdomain-policy.https.html.ini
@@ -0,0 +1,8 @@
+[sends-report-on-success-with-subdomain-policy.https.html]
+ expected:
+ if os == "mac": [OK, TIMEOUT]
+ if os == "win": [OK, TIMEOUT]
+ [\n Test that NEL reports are sent for successful requests\n ]
+ expected:
+ if os == "linux": FAIL
+ [FAIL, TIMEOUT]
diff --git a/testing/web-platform/meta/network-error-logging/sends-report-on-success.https.html.ini b/testing/web-platform/meta/network-error-logging/sends-report-on-success.https.html.ini
new file mode 100644
index 0000000000..45db215e00
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/sends-report-on-success.https.html.ini
@@ -0,0 +1,7 @@
+[sends-report-on-success.https.html]
+ expected:
+ if os == "mac": [OK, TIMEOUT]
+ [\n Test that NEL reports are sent for successful requests\n ]
+ expected:
+ if os == "mac": [FAIL, TIMEOUT]
+ FAIL