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 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /testing/web-platform/meta/network-error-logging
parentInitial commit. (diff)
downloadfirefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz
firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
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-success.https.html.ini6
-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.ini7
-rw-r--r--testing/web-platform/meta/network-error-logging/sends-report-on-redirect.https.html.ini7
-rw-r--r--testing/web-platform/meta/network-error-logging/sends-report-on-subdomain-dns-failure.https.html.ini6
-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
10 files changed, 63 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-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..21ffa63ebb
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/no-report-on-subdomain-success.https.html.ini
@@ -0,0 +1,6 @@
+[no-report-on-subdomain-success.https.html]
+ expected:
+ if os == "mac": [OK, TIMEOUT]
+ [\n Test that include_subdomains policies do NOT report successful requests\n ]
+ expected:
+ if os == "mac": [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..a8cbe1aee0
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/sends-report-on-cache-validation.https.html.ini
@@ -0,0 +1,7 @@
+[sends-report-on-cache-validation.https.html]
+ expected:
+ if os == "mac": [OK, TIMEOUT]
+ [\n Test that NEL reports are sent for cache validation requests\n ]
+ expected:
+ if os == "mac": [FAIL, TIMEOUT]
+ FAIL
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..5483ba4e75
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/sends-report-on-redirect.https.html.ini
@@ -0,0 +1,7 @@
+[sends-report-on-redirect.https.html]
+ expected:
+ if os == "mac": [OK, TIMEOUT]
+ [\n Test that NEL reports are sent for redirects\n ]
+ expected:
+ if os == "mac": [FAIL, TIMEOUT]
+ 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..1a1ad836b8
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/sends-report-on-subdomain-dns-failure.https.html.ini
@@ -0,0 +1,6 @@
+[sends-report-on-subdomain-dns-failure.https.html]
+ expected:
+ if os == "android": OK
+ [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