summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/network-error-logging
diff options
context:
space:
mode:
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.ini9
-rw-r--r--testing/web-platform/meta/network-error-logging/no-report-on-subdomain-404.https.html.ini5
-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/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.ini8
-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, 67 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..e716058d08
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/no-report-on-failed-cors-preflight.https.html.ini
@@ -0,0 +1,9 @@
+[no-report-on-failed-cors-preflight.https.html]
+ expected:
+ if (os == "linux") and debug: ["OK", "TIMEOUT"]
+ if (os == "mac") and debug: ["OK", "TIMEOUT"]
+ [\n Test that NEL reports are not sent if the CORS preflight fails\n ]
+ expected:
+ if (os == "linux") and debug: ["PASS", "TIMEOUT"]
+ if (os == "mac") and debug: ["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..a417e8d458
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/no-report-on-subdomain-404.https.html.ini
@@ -0,0 +1,5 @@
+[no-report-on-subdomain-404.https.html]
+ [\n Test that include_subdomains policies do NOT report HTTP errors\n ]
+ expected:
+ if os == "android": PASS
+ FAIL
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/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..f6cdf97340
--- /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": [TIMEOUT, OK]
+ [\n Test that NEL reports are sent for cache validation requests\n ]
+ expected:
+ if os == "mac": [TIMEOUT, FAIL]
+ 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..5aa9016796
--- /dev/null
+++ b/testing/web-platform/meta/network-error-logging/sends-report-on-subdomain-dns-failure.https.html.ini
@@ -0,0 +1,8 @@
+[sends-report-on-subdomain-dns-failure.https.html]
+ expected:
+ if os == "win": OK
+ [OK, TIMEOUT]
+ [\n Test that include_subdomains policies report DNS failures for subdomains\n ]
+ expected:
+ if os == "win": FAIL
+ [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..bf91302fff
--- /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 == "linux": OK
+ [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