diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/network-error-logging | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/network-error-logging')
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 |