summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/referrer-policy/generic
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/meta/referrer-policy/generic
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/referrer-policy/generic')
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/iframe-upgrade-request-to-same-origin.sub.https.html.ini4
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-about-blank.html.ini9
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-history-about-blank.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-history-about-srcdoc.html.ini5
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-javascript-child.html.ini14
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-javascript.html.ini8
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc-child.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/inheritance/popup-inheritance-about-blank.html.ini11
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/inheritance/popup-inheritance-form-submission.html.ini5
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/inheritance/workers.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/link-rel-prefetch.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/meta-referrer-removed-1.http.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/meta-referrer-removed-2.http.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/meta-tag-in-svg-image.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/multiple-headers-and-values.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/multiple-headers-combined.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/multiple-headers-one-invalid.html.ini5
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/multiple-headers-one-unknown-token.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/multiple-headers.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/sandboxed-iframe-with-opaque-origin.html.ini4
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/subresource-test/__dir__.ini1
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/subresource-test/attr-referrer-invalid-value.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/subresource-test/iframe-messaging.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/subresource-test/image-decoding.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/subresource-test/link-navigate.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/subresource-test/script-messaging.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/subresource-test/worker-messaging.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/subresource-test/xhr-messaging.html.ini3
-rw-r--r--testing/web-platform/meta/referrer-policy/generic/unsupported-csp-referrer-directive.html.ini3
30 files changed, 126 insertions, 0 deletions
diff --git a/testing/web-platform/meta/referrer-policy/generic/iframe-upgrade-request-to-same-origin.sub.https.html.ini b/testing/web-platform/meta/referrer-policy/generic/iframe-upgrade-request-to-same-origin.sub.https.html.ini
new file mode 100644
index 0000000000..b1e01f956a
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/iframe-upgrade-request-to-same-origin.sub.https.html.ini
@@ -0,0 +1,4 @@
+[iframe-upgrade-request-to-same-origin.sub.https.html]
+ [If an insecure iframe request is upgraded to https to be same-origin, referrer policies that consider same-origin-ness should be applied correctly]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-about-blank.html.ini b/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-about-blank.html.ini
new file mode 100644
index 0000000000..f716fdff54
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-about-blank.html.ini
@@ -0,0 +1,9 @@
+[iframe-inheritance-about-blank.html]
+ [The value of document.referrer in an about:blank iframe is the outer document's full URL, regardless of referrer policy]
+ expected: FAIL
+
+ [The fetch() API in an about:blank iframe with the 'client' referrer is fetched with no 'Referer' header]
+ expected: FAIL
+
+ [The fetch() API in an about:blank iframe with a custom URL referrer is fetched with a 'Referer` header that uses the outer document's URL along with its referrer policy]
+ expected: FAIL
diff --git a/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-history-about-blank.html.ini b/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-history-about-blank.html.ini
new file mode 100644
index 0000000000..e02aecc5dc
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-history-about-blank.html.ini
@@ -0,0 +1,3 @@
+[iframe-inheritance-history-about-blank.html]
+ [History navigation reuses original policy.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-history-about-srcdoc.html.ini b/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-history-about-srcdoc.html.ini
new file mode 100644
index 0000000000..54bdebbc0b
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-history-about-srcdoc.html.ini
@@ -0,0 +1,5 @@
+[iframe-inheritance-history-about-srcdoc.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [History navigation reuses original policy.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-javascript-child.html.ini b/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-javascript-child.html.ini
new file mode 100644
index 0000000000..53eac00500
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-javascript-child.html.ini
@@ -0,0 +1,14 @@
+[iframe-inheritance-javascript-child.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Referrer Policy: iframes with javascript url reuse referrer policy]
+ expected: FAIL
+
+ [Referrer Policy: iframes with javascript url reuse referrer policy 1]
+ expected: FAIL
+
+ [Referrer Policy: iframes with javascript url reuse referrer policy 3]
+ expected: FAIL
+
+ [Referrer Policy: iframes with javascript url reuse referrer policy 2]
+ expected: FAIL
diff --git a/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-javascript.html.ini b/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-javascript.html.ini
new file mode 100644
index 0000000000..674898155f
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-javascript.html.ini
@@ -0,0 +1,8 @@
+[iframe-inheritance-javascript.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Referrer Policy: iframes with javascript url reuse referrer policy]
+ expected: FAIL
+
+ [Referrer Policy: iframes with javascript url reuse referrer policy 1]
+ expected: FAIL
diff --git a/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc-child.html.ini b/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc-child.html.ini
new file mode 100644
index 0000000000..eabc75c5d9
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc-child.html.ini
@@ -0,0 +1,3 @@
+[iframe-inheritance-srcdoc-child.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc.html.ini b/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc.html.ini
new file mode 100644
index 0000000000..79d391ecbf
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc.html.ini
@@ -0,0 +1,3 @@
+[iframe-inheritance-srcdoc.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/inheritance/popup-inheritance-about-blank.html.ini b/testing/web-platform/meta/referrer-policy/generic/inheritance/popup-inheritance-about-blank.html.ini
new file mode 100644
index 0000000000..84bea50e76
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/inheritance/popup-inheritance-about-blank.html.ini
@@ -0,0 +1,11 @@
+[popup-inheritance-about-blank.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [The fetch() API in an about:blank popup with the 'client' referrer is fetched with no 'Referer' header]
+ expected: FAIL
+
+ [The fetch() API in an about:blank popup with a custom URL referrer is fetched with a 'Referer` header that uses the outer document's URL along with its referrer policy]
+ expected: FAIL
+
+ [The value of document.referrer in an about:blank popup is the outer document's full URL, regardless of referrer policy]
+ expected: FAIL
diff --git a/testing/web-platform/meta/referrer-policy/generic/inheritance/popup-inheritance-form-submission.html.ini b/testing/web-platform/meta/referrer-policy/generic/inheritance/popup-inheritance-form-submission.html.ini
new file mode 100644
index 0000000000..d28d173073
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/inheritance/popup-inheritance-form-submission.html.ini
@@ -0,0 +1,5 @@
+[popup-inheritance-form-submission.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [A new frame's document.referrer is correct even if its initiator frame is gone]
+ expected: FAIL
diff --git a/testing/web-platform/meta/referrer-policy/generic/inheritance/workers.html.ini b/testing/web-platform/meta/referrer-policy/generic/inheritance/workers.html.ini
new file mode 100644
index 0000000000..d8b2bf778f
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/inheritance/workers.html.ini
@@ -0,0 +1,3 @@
+[workers.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/link-rel-prefetch.html.ini b/testing/web-platform/meta/referrer-policy/generic/link-rel-prefetch.html.ini
new file mode 100644
index 0000000000..af2612e324
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/link-rel-prefetch.html.ini
@@ -0,0 +1,3 @@
+[link-rel-prefetch.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/meta-referrer-removed-1.http.html.ini b/testing/web-platform/meta/referrer-policy/generic/meta-referrer-removed-1.http.html.ini
new file mode 100644
index 0000000000..9caa70418d
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/meta-referrer-removed-1.http.html.ini
@@ -0,0 +1,3 @@
+[meta-referrer-removed-1.http.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/meta-referrer-removed-2.http.html.ini b/testing/web-platform/meta/referrer-policy/generic/meta-referrer-removed-2.http.html.ini
new file mode 100644
index 0000000000..3a419cc6f0
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/meta-referrer-removed-2.http.html.ini
@@ -0,0 +1,3 @@
+[meta-referrer-removed-2.http.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/meta-tag-in-svg-image.html.ini b/testing/web-platform/meta/referrer-policy/generic/meta-tag-in-svg-image.html.ini
new file mode 100644
index 0000000000..ba3d782c1b
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/meta-tag-in-svg-image.html.ini
@@ -0,0 +1,3 @@
+[meta-tag-in-svg-image.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/multiple-headers-and-values.html.ini b/testing/web-platform/meta/referrer-policy/generic/multiple-headers-and-values.html.ini
new file mode 100644
index 0000000000..aeaa904a99
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/multiple-headers-and-values.html.ini
@@ -0,0 +1,3 @@
+[multiple-headers-and-values.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/multiple-headers-combined.html.ini b/testing/web-platform/meta/referrer-policy/generic/multiple-headers-combined.html.ini
new file mode 100644
index 0000000000..c581aeff10
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/multiple-headers-combined.html.ini
@@ -0,0 +1,3 @@
+[multiple-headers-combined.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/multiple-headers-one-invalid.html.ini b/testing/web-platform/meta/referrer-policy/generic/multiple-headers-one-invalid.html.ini
new file mode 100644
index 0000000000..58d427b24f
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/multiple-headers-one-invalid.html.ini
@@ -0,0 +1,5 @@
+[multiple-headers-one-invalid.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Referrer policy header parsing fails if one header is invalid]
+ expected: FAIL
diff --git a/testing/web-platform/meta/referrer-policy/generic/multiple-headers-one-unknown-token.html.ini b/testing/web-platform/meta/referrer-policy/generic/multiple-headers-one-unknown-token.html.ini
new file mode 100644
index 0000000000..8ba1a27590
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/multiple-headers-one-unknown-token.html.ini
@@ -0,0 +1,3 @@
+[multiple-headers-one-unknown-token.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/multiple-headers.html.ini b/testing/web-platform/meta/referrer-policy/generic/multiple-headers.html.ini
new file mode 100644
index 0000000000..4bb990d33d
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/multiple-headers.html.ini
@@ -0,0 +1,3 @@
+[multiple-headers.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/sandboxed-iframe-with-opaque-origin.html.ini b/testing/web-platform/meta/referrer-policy/generic/sandboxed-iframe-with-opaque-origin.html.ini
new file mode 100644
index 0000000000..d60b3c9d52
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/sandboxed-iframe-with-opaque-origin.html.ini
@@ -0,0 +1,4 @@
+[sandboxed-iframe-with-opaque-origin.html]
+ prefs: [network.http.referer.disallowCrossSiteRelaxingDefault:false]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/subresource-test/__dir__.ini b/testing/web-platform/meta/referrer-policy/generic/subresource-test/__dir__.ini
new file mode 100644
index 0000000000..daf68383df
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/subresource-test/__dir__.ini
@@ -0,0 +1 @@
+leak-threshold: [default:51200]
diff --git a/testing/web-platform/meta/referrer-policy/generic/subresource-test/attr-referrer-invalid-value.html.ini b/testing/web-platform/meta/referrer-policy/generic/subresource-test/attr-referrer-invalid-value.html.ini
new file mode 100644
index 0000000000..2421b2fbd0
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/subresource-test/attr-referrer-invalid-value.html.ini
@@ -0,0 +1,3 @@
+[attr-referrer-invalid-value.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
diff --git a/testing/web-platform/meta/referrer-policy/generic/subresource-test/iframe-messaging.html.ini b/testing/web-platform/meta/referrer-policy/generic/subresource-test/iframe-messaging.html.ini
new file mode 100644
index 0000000000..1b96b03bf1
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/subresource-test/iframe-messaging.html.ini
@@ -0,0 +1,3 @@
+[iframe-messaging.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/subresource-test/image-decoding.html.ini b/testing/web-platform/meta/referrer-policy/generic/subresource-test/image-decoding.html.ini
new file mode 100644
index 0000000000..26ca3704e9
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/subresource-test/image-decoding.html.ini
@@ -0,0 +1,3 @@
+[image-decoding.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/subresource-test/link-navigate.html.ini b/testing/web-platform/meta/referrer-policy/generic/subresource-test/link-navigate.html.ini
new file mode 100644
index 0000000000..4141697405
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/subresource-test/link-navigate.html.ini
@@ -0,0 +1,3 @@
+[link-navigate.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/subresource-test/script-messaging.html.ini b/testing/web-platform/meta/referrer-policy/generic/subresource-test/script-messaging.html.ini
new file mode 100644
index 0000000000..e906775bc5
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/subresource-test/script-messaging.html.ini
@@ -0,0 +1,3 @@
+[script-messaging.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/subresource-test/worker-messaging.html.ini b/testing/web-platform/meta/referrer-policy/generic/subresource-test/worker-messaging.html.ini
new file mode 100644
index 0000000000..a7a49d13ba
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/subresource-test/worker-messaging.html.ini
@@ -0,0 +1,3 @@
+[worker-messaging.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
diff --git a/testing/web-platform/meta/referrer-policy/generic/subresource-test/xhr-messaging.html.ini b/testing/web-platform/meta/referrer-policy/generic/subresource-test/xhr-messaging.html.ini
new file mode 100644
index 0000000000..ecf83579e7
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/subresource-test/xhr-messaging.html.ini
@@ -0,0 +1,3 @@
+[xhr-messaging.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/referrer-policy/generic/unsupported-csp-referrer-directive.html.ini b/testing/web-platform/meta/referrer-policy/generic/unsupported-csp-referrer-directive.html.ini
new file mode 100644
index 0000000000..ff99d43248
--- /dev/null
+++ b/testing/web-platform/meta/referrer-policy/generic/unsupported-csp-referrer-directive.html.ini
@@ -0,0 +1,3 @@
+[unsupported-csp-referrer-directive.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]