summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/cors
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /testing/web-platform/meta/cors
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/cors')
-rw-r--r--testing/web-platform/meta/cors/304.htm.ini1
-rw-r--r--testing/web-platform/meta/cors/__dir__.ini1
-rw-r--r--testing/web-platform/meta/cors/access-control-expose-headers-parsing.window.js.ini3
-rw-r--r--testing/web-platform/meta/cors/basic.htm.ini11
-rw-r--r--testing/web-platform/meta/cors/client-hint-request-headers-2.tentative.htm.ini5
-rw-r--r--testing/web-platform/meta/cors/cors-safelisted-request-header.any.js.ini18
-rw-r--r--testing/web-platform/meta/cors/credentials-flag.htm.ini3
-rw-r--r--testing/web-platform/meta/cors/image-tainting-in-cross-origin-iframe.sub.html.ini3
-rw-r--r--testing/web-platform/meta/cors/late-upload-events.htm.ini4
-rw-r--r--testing/web-platform/meta/cors/origin.htm.ini3
-rw-r--r--testing/web-platform/meta/cors/preflight-cache-partitioning.sub.window.js.ini4
-rw-r--r--testing/web-platform/meta/cors/preflight-cache.htm.ini3
-rw-r--r--testing/web-platform/meta/cors/preflight-failure.htm.ini3
-rw-r--r--testing/web-platform/meta/cors/redirect-origin.htm.ini6
-rw-r--r--testing/web-platform/meta/cors/redirect-preflight-2.htm.ini3
-rw-r--r--testing/web-platform/meta/cors/redirect-preflight.htm.ini3
-rw-r--r--testing/web-platform/meta/cors/redirect-userinfo.htm.ini3
-rw-r--r--testing/web-platform/meta/cors/remote-origin.htm.ini3
-rw-r--r--testing/web-platform/meta/cors/request-headers.htm.ini3
-rw-r--r--testing/web-platform/meta/cors/response-headers.htm.ini3
-rw-r--r--testing/web-platform/meta/cors/script-304.html.ini3
-rw-r--r--testing/web-platform/meta/cors/simple-requests-ch.tentative.htm.ini12
-rw-r--r--testing/web-platform/meta/cors/simple-requests.htm.ini3
-rw-r--r--testing/web-platform/meta/cors/status-async.htm.ini3
-rw-r--r--testing/web-platform/meta/cors/status-preflight.htm.ini3
-rw-r--r--testing/web-platform/meta/cors/status.htm.ini3
26 files changed, 113 insertions, 0 deletions
diff --git a/testing/web-platform/meta/cors/304.htm.ini b/testing/web-platform/meta/cors/304.htm.ini
new file mode 100644
index 0000000000..6498aad1cc
--- /dev/null
+++ b/testing/web-platform/meta/cors/304.htm.ini
@@ -0,0 +1 @@
+prefs: [network.http.rcwn.enabled:false]
diff --git a/testing/web-platform/meta/cors/__dir__.ini b/testing/web-platform/meta/cors/__dir__.ini
new file mode 100644
index 0000000000..b67beb8e51
--- /dev/null
+++ b/testing/web-platform/meta/cors/__dir__.ini
@@ -0,0 +1 @@
+prefs: [dom.reporting.enabled:true, dom.reporting.featurePolicy.enabled:true]
diff --git a/testing/web-platform/meta/cors/access-control-expose-headers-parsing.window.js.ini b/testing/web-platform/meta/cors/access-control-expose-headers-parsing.window.js.ini
new file mode 100644
index 0000000000..5d69759176
--- /dev/null
+++ b/testing/web-platform/meta/cors/access-control-expose-headers-parsing.window.js.ini
@@ -0,0 +1,3 @@
+[access-control-expose-headers-parsing.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/basic.htm.ini b/testing/web-platform/meta/cors/basic.htm.ini
new file mode 100644
index 0000000000..825bf9a59b
--- /dev/null
+++ b/testing/web-platform/meta/cors/basic.htm.ini
@@ -0,0 +1,11 @@
+[basic.htm]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Cross domain basic usage, origin: echo]
+ expected: FAIL
+
+ [Cross domain different port, origin: echo]
+ expected: FAIL
+
+ [Cross domain different protocol, origin: echo]
+ expected: FAIL
diff --git a/testing/web-platform/meta/cors/client-hint-request-headers-2.tentative.htm.ini b/testing/web-platform/meta/cors/client-hint-request-headers-2.tentative.htm.ini
new file mode 100644
index 0000000000..0bd53bf098
--- /dev/null
+++ b/testing/web-platform/meta/cors/client-hint-request-headers-2.tentative.htm.ini
@@ -0,0 +1,5 @@
+[client-hint-request-headers-2.tentative.htm]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Client hint headers are simple headers]
+ expected: FAIL
diff --git a/testing/web-platform/meta/cors/cors-safelisted-request-header.any.js.ini b/testing/web-platform/meta/cors/cors-safelisted-request-header.any.js.ini
new file mode 100644
index 0000000000..35292756e5
--- /dev/null
+++ b/testing/web-platform/meta/cors/cors-safelisted-request-header.any.js.ini
@@ -0,0 +1,18 @@
+[cors-safelisted-request-header.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [No preflight for {"range":"bytes=100-200"}]
+ expected: FAIL
+
+ [No preflight for {"range":"bytes=200-"}]
+ expected: FAIL
+
+
+[cors-safelisted-request-header.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [No preflight for {"range":"bytes=100-200"}]
+ expected: FAIL
+
+ [No preflight for {"range":"bytes=200-"}]
+ expected: FAIL
diff --git a/testing/web-platform/meta/cors/credentials-flag.htm.ini b/testing/web-platform/meta/cors/credentials-flag.htm.ini
new file mode 100644
index 0000000000..713cd926c2
--- /dev/null
+++ b/testing/web-platform/meta/cors/credentials-flag.htm.ini
@@ -0,0 +1,3 @@
+[credentials-flag.htm]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/image-tainting-in-cross-origin-iframe.sub.html.ini b/testing/web-platform/meta/cors/image-tainting-in-cross-origin-iframe.sub.html.ini
new file mode 100644
index 0000000000..cb1ffa3a3b
--- /dev/null
+++ b/testing/web-platform/meta/cors/image-tainting-in-cross-origin-iframe.sub.html.ini
@@ -0,0 +1,3 @@
+[image-tainting-in-cross-origin-iframe.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/late-upload-events.htm.ini b/testing/web-platform/meta/cors/late-upload-events.htm.ini
new file mode 100644
index 0000000000..d9186684e7
--- /dev/null
+++ b/testing/web-platform/meta/cors/late-upload-events.htm.ini
@@ -0,0 +1,4 @@
+[late-upload-events.htm]
+ expected:
+ if (os == "android") and debug and fission: [OK, TIMEOUT]
+ if (os == "android") and debug and not fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/origin.htm.ini b/testing/web-platform/meta/cors/origin.htm.ini
new file mode 100644
index 0000000000..2c8a45e9b5
--- /dev/null
+++ b/testing/web-platform/meta/cors/origin.htm.ini
@@ -0,0 +1,3 @@
+[origin.htm]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/preflight-cache-partitioning.sub.window.js.ini b/testing/web-platform/meta/cors/preflight-cache-partitioning.sub.window.js.ini
new file mode 100644
index 0000000000..9ec2438069
--- /dev/null
+++ b/testing/web-platform/meta/cors/preflight-cache-partitioning.sub.window.js.ini
@@ -0,0 +1,4 @@
+[preflight-cache-partitioning.sub.window.html]
+ prefs: [privacy.partition.network_state:true]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/preflight-cache.htm.ini b/testing/web-platform/meta/cors/preflight-cache.htm.ini
new file mode 100644
index 0000000000..2084bb9399
--- /dev/null
+++ b/testing/web-platform/meta/cors/preflight-cache.htm.ini
@@ -0,0 +1,3 @@
+[preflight-cache.htm]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/preflight-failure.htm.ini b/testing/web-platform/meta/cors/preflight-failure.htm.ini
new file mode 100644
index 0000000000..b360cd139f
--- /dev/null
+++ b/testing/web-platform/meta/cors/preflight-failure.htm.ini
@@ -0,0 +1,3 @@
+[preflight-failure.htm]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/redirect-origin.htm.ini b/testing/web-platform/meta/cors/redirect-origin.htm.ini
new file mode 100644
index 0000000000..e20f94d624
--- /dev/null
+++ b/testing/web-platform/meta/cors/redirect-origin.htm.ini
@@ -0,0 +1,6 @@
+[redirect-origin.htm]
+ disabled:
+ if os == "mac": https://bugzilla.mozilla.org/show_bug.cgi?id=1023162
+ expected:
+ if (os == "android") and debug and fission: [OK, TIMEOUT]
+ if (os == "android") and debug and not fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/redirect-preflight-2.htm.ini b/testing/web-platform/meta/cors/redirect-preflight-2.htm.ini
new file mode 100644
index 0000000000..edd77d0cc2
--- /dev/null
+++ b/testing/web-platform/meta/cors/redirect-preflight-2.htm.ini
@@ -0,0 +1,3 @@
+[redirect-preflight-2.htm]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/redirect-preflight.htm.ini b/testing/web-platform/meta/cors/redirect-preflight.htm.ini
new file mode 100644
index 0000000000..97fb5e3496
--- /dev/null
+++ b/testing/web-platform/meta/cors/redirect-preflight.htm.ini
@@ -0,0 +1,3 @@
+[redirect-preflight.htm]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/redirect-userinfo.htm.ini b/testing/web-platform/meta/cors/redirect-userinfo.htm.ini
new file mode 100644
index 0000000000..7a3caac4fe
--- /dev/null
+++ b/testing/web-platform/meta/cors/redirect-userinfo.htm.ini
@@ -0,0 +1,3 @@
+[redirect-userinfo.htm]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/remote-origin.htm.ini b/testing/web-platform/meta/cors/remote-origin.htm.ini
new file mode 100644
index 0000000000..d170a50707
--- /dev/null
+++ b/testing/web-platform/meta/cors/remote-origin.htm.ini
@@ -0,0 +1,3 @@
+[remote-origin.htm]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/request-headers.htm.ini b/testing/web-platform/meta/cors/request-headers.htm.ini
new file mode 100644
index 0000000000..334092b119
--- /dev/null
+++ b/testing/web-platform/meta/cors/request-headers.htm.ini
@@ -0,0 +1,3 @@
+[request-headers.htm]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/response-headers.htm.ini b/testing/web-platform/meta/cors/response-headers.htm.ini
new file mode 100644
index 0000000000..b151ec0d27
--- /dev/null
+++ b/testing/web-platform/meta/cors/response-headers.htm.ini
@@ -0,0 +1,3 @@
+[response-headers.htm]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/script-304.html.ini b/testing/web-platform/meta/cors/script-304.html.ini
new file mode 100644
index 0000000000..1d78ce425f
--- /dev/null
+++ b/testing/web-platform/meta/cors/script-304.html.ini
@@ -0,0 +1,3 @@
+[script-304.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/simple-requests-ch.tentative.htm.ini b/testing/web-platform/meta/cors/simple-requests-ch.tentative.htm.ini
new file mode 100644
index 0000000000..5f05d7b8eb
--- /dev/null
+++ b/testing/web-platform/meta/cors/simple-requests-ch.tentative.htm.ini
@@ -0,0 +1,12 @@
+[simple-requests-ch.tentative.htm]
+ expected:
+ if (os == "linux") and not fission and not debug: [OK, CRASH]
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [No preflight GET and {"save-data":"on","device-memory":"2.0","dpr":"3.0","width":"1200","viewport-width":"1300","rtt":"1","downlink":"1.0","ect":"2g"}]
+ expected: FAIL
+
+ [No preflight HEAD and {"save-data":"on","device-memory":"2.0","dpr":"3.0","width":"1200","viewport-width":"1300","rtt":"1","downlink":"1.0","ect":"2g"}]
+ expected: FAIL
+
+ [No preflight POST and {"save-data":"on","device-memory":"2.0","dpr":"3.0","width":"1200","viewport-width":"1300","rtt":"1","downlink":"1.0","ect":"2g"}]
+ expected: FAIL
diff --git a/testing/web-platform/meta/cors/simple-requests.htm.ini b/testing/web-platform/meta/cors/simple-requests.htm.ini
new file mode 100644
index 0000000000..690b3db4a2
--- /dev/null
+++ b/testing/web-platform/meta/cors/simple-requests.htm.ini
@@ -0,0 +1,3 @@
+[simple-requests.htm]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/status-async.htm.ini b/testing/web-platform/meta/cors/status-async.htm.ini
new file mode 100644
index 0000000000..f6fed193a2
--- /dev/null
+++ b/testing/web-platform/meta/cors/status-async.htm.ini
@@ -0,0 +1,3 @@
+[status-async.htm]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/status-preflight.htm.ini b/testing/web-platform/meta/cors/status-preflight.htm.ini
new file mode 100644
index 0000000000..1c4740675d
--- /dev/null
+++ b/testing/web-platform/meta/cors/status-preflight.htm.ini
@@ -0,0 +1,3 @@
+[status-preflight.htm]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/cors/status.htm.ini b/testing/web-platform/meta/cors/status.htm.ini
new file mode 100644
index 0000000000..bb3f28b42c
--- /dev/null
+++ b/testing/web-platform/meta/cors/status.htm.ini
@@ -0,0 +1,3 @@
+[status.htm]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]