summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/preload
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/preload
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/preload')
-rw-r--r--testing/web-platform/meta/preload/__dir__.ini2
-rw-r--r--testing/web-platform/meta/preload/avoid-delaying-onload-link-modulepreload-exec.html.ini2
-rw-r--r--testing/web-platform/meta/preload/avoid-delaying-onload-link-modulepreload.html.ini2
-rw-r--r--testing/web-platform/meta/preload/avoid-prefetching-on-text-plain.html.ini3
-rw-r--r--testing/web-platform/meta/preload/delaying-onload-link-preload-after-discovery.html.ini5
-rw-r--r--testing/web-platform/meta/preload/download-resources.html.ini5
-rw-r--r--testing/web-platform/meta/preload/dynamic-adding-preload-imagesrcset.html.ini3
-rw-r--r--testing/web-platform/meta/preload/dynamic-adding-preload-nonce.html.ini4
-rw-r--r--testing/web-platform/meta/preload/dynamic-adding-preload.html.ini3
-rw-r--r--testing/web-platform/meta/preload/link-header-modulepreload.html.ini4
-rw-r--r--testing/web-platform/meta/preload/link-header-on-subresource.html.ini4
-rw-r--r--testing/web-platform/meta/preload/link-header-preload-delay-onload.html.ini7
-rw-r--r--testing/web-platform/meta/preload/link-header-preload-non-html.html.ini15
-rw-r--r--testing/web-platform/meta/preload/link-header-preload-nonce.html.ini5
-rw-r--r--testing/web-platform/meta/preload/link-header-preload.html.ini6
-rw-r--r--testing/web-platform/meta/preload/modulepreload.html.ini47
-rw-r--r--testing/web-platform/meta/preload/onerror-event.html.ini3
-rw-r--r--testing/web-platform/meta/preload/onload-event.html.ini3
-rw-r--r--testing/web-platform/meta/preload/preconnect-onerror-event.html.ini4
-rw-r--r--testing/web-platform/meta/preload/preconnect.html.ini12
-rw-r--r--testing/web-platform/meta/preload/prefetch-accept.html.ini3
-rw-r--r--testing/web-platform/meta/preload/preload-connect-to-doc.html.ini3
-rw-r--r--testing/web-platform/meta/preload/preload-csp.sub.html.ini3
-rw-r--r--testing/web-platform/meta/preload/preload-dynamic-csp.html.ini3
-rw-r--r--testing/web-platform/meta/preload/preload-error.sub.html.ini51
-rw-r--r--testing/web-platform/meta/preload/preload-font-crossorigin.html.ini3
-rw-r--r--testing/web-platform/meta/preload/preload-in-data-doc.html.ini4
-rw-r--r--testing/web-platform/meta/preload/preload-invalid-resources.html.ini3
-rw-r--r--testing/web-platform/meta/preload/preload-link-cached-stylesheet-different-doc.html.ini3
-rw-r--r--testing/web-platform/meta/preload/preload-referrer-policy.html.ini3
-rw-r--r--testing/web-platform/meta/preload/preload-resource-match.https.html.ini9
-rw-r--r--testing/web-platform/meta/preload/preload-strict-dynamic.sub.html.ini5
-rw-r--r--testing/web-platform/meta/preload/preload-time-to-fetch.https.html.ini5
-rw-r--r--testing/web-platform/meta/preload/preload-type-match.html.ini59
-rw-r--r--testing/web-platform/meta/preload/preload-with-type.html.ini4
-rw-r--r--testing/web-platform/meta/preload/single-download-late-used-preload.html.ini5
-rw-r--r--testing/web-platform/meta/preload/single-download-preload.html.ini9
-rw-r--r--testing/web-platform/meta/preload/subresource-integrity-font.html.ini26
-rw-r--r--testing/web-platform/meta/preload/subresource-integrity-partial-image.html.ini3
-rw-r--r--testing/web-platform/meta/preload/subresource-integrity.html.ini65
40 files changed, 408 insertions, 0 deletions
diff --git a/testing/web-platform/meta/preload/__dir__.ini b/testing/web-platform/meta/preload/__dir__.ini
new file mode 100644
index 0000000000..4adeddd8e7
--- /dev/null
+++ b/testing/web-platform/meta/preload/__dir__.ini
@@ -0,0 +1,2 @@
+prefs: [network.http.rcwn.enabled:false]
+lsan-allowed: [_GetAddrInfo_Portable, mozilla::net::AddrInfo::AddrInfo]
diff --git a/testing/web-platform/meta/preload/avoid-delaying-onload-link-modulepreload-exec.html.ini b/testing/web-platform/meta/preload/avoid-delaying-onload-link-modulepreload-exec.html.ini
new file mode 100644
index 0000000000..597d1953df
--- /dev/null
+++ b/testing/web-platform/meta/preload/avoid-delaying-onload-link-modulepreload-exec.html.ini
@@ -0,0 +1,2 @@
+[avoid-delaying-onload-link-modulepreload-exec.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/preload/avoid-delaying-onload-link-modulepreload.html.ini b/testing/web-platform/meta/preload/avoid-delaying-onload-link-modulepreload.html.ini
new file mode 100644
index 0000000000..e43638d861
--- /dev/null
+++ b/testing/web-platform/meta/preload/avoid-delaying-onload-link-modulepreload.html.ini
@@ -0,0 +1,2 @@
+[avoid-delaying-onload-link-modulepreload.html]
+ expected: ERROR
diff --git a/testing/web-platform/meta/preload/avoid-prefetching-on-text-plain.html.ini b/testing/web-platform/meta/preload/avoid-prefetching-on-text-plain.html.ini
new file mode 100644
index 0000000000..16085ce4a2
--- /dev/null
+++ b/testing/web-platform/meta/preload/avoid-prefetching-on-text-plain.html.ini
@@ -0,0 +1,3 @@
+[avoid-prefetching-on-text-plain.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/preload/delaying-onload-link-preload-after-discovery.html.ini b/testing/web-platform/meta/preload/delaying-onload-link-preload-after-discovery.html.ini
new file mode 100644
index 0000000000..6500098318
--- /dev/null
+++ b/testing/web-platform/meta/preload/delaying-onload-link-preload-after-discovery.html.ini
@@ -0,0 +1,5 @@
+[delaying-onload-link-preload-after-discovery.html]
+ disabled:
+ if verify: fails in verify mode
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
diff --git a/testing/web-platform/meta/preload/download-resources.html.ini b/testing/web-platform/meta/preload/download-resources.html.ini
new file mode 100644
index 0000000000..211f524a67
--- /dev/null
+++ b/testing/web-platform/meta/preload/download-resources.html.ini
@@ -0,0 +1,5 @@
+[download-resources.html]
+ disabled:
+ if verify and (os == "linux"): fails in verify mode
+ [Makes sure that preloaded resources are downloaded]
+ expected: FAIL
diff --git a/testing/web-platform/meta/preload/dynamic-adding-preload-imagesrcset.html.ini b/testing/web-platform/meta/preload/dynamic-adding-preload-imagesrcset.html.ini
new file mode 100644
index 0000000000..f916eb7de8
--- /dev/null
+++ b/testing/web-platform/meta/preload/dynamic-adding-preload-imagesrcset.html.ini
@@ -0,0 +1,3 @@
+[dynamic-adding-preload-imagesrcset.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/preload/dynamic-adding-preload-nonce.html.ini b/testing/web-platform/meta/preload/dynamic-adding-preload-nonce.html.ini
new file mode 100644
index 0000000000..3fe7a9386d
--- /dev/null
+++ b/testing/web-platform/meta/preload/dynamic-adding-preload-nonce.html.ini
@@ -0,0 +1,4 @@
+[dynamic-adding-preload-nonce.html]
+ [link preload with nonce attribute]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/preload/dynamic-adding-preload.html.ini b/testing/web-platform/meta/preload/dynamic-adding-preload.html.ini
new file mode 100644
index 0000000000..95669ff470
--- /dev/null
+++ b/testing/web-platform/meta/preload/dynamic-adding-preload.html.ini
@@ -0,0 +1,3 @@
+[dynamic-adding-preload.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/preload/link-header-modulepreload.html.ini b/testing/web-platform/meta/preload/link-header-modulepreload.html.ini
new file mode 100644
index 0000000000..4e8264c6c5
--- /dev/null
+++ b/testing/web-platform/meta/preload/link-header-modulepreload.html.ini
@@ -0,0 +1,4 @@
+[link-header-modulepreload.html]
+ expected: TIMEOUT
+ [test that a header-preloaded module is loaded and consumed]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/preload/link-header-on-subresource.html.ini b/testing/web-platform/meta/preload/link-header-on-subresource.html.ini
new file mode 100644
index 0000000000..df8529755e
--- /dev/null
+++ b/testing/web-platform/meta/preload/link-header-on-subresource.html.ini
@@ -0,0 +1,4 @@
+[link-header-on-subresource.html]
+ [Makes sure that Link headers on subresources preload resources]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/preload/link-header-preload-delay-onload.html.ini b/testing/web-platform/meta/preload/link-header-preload-delay-onload.html.ini
new file mode 100644
index 0000000000..34f5091cc7
--- /dev/null
+++ b/testing/web-platform/meta/preload/link-header-preload-delay-onload.html.ini
@@ -0,0 +1,7 @@
+[link-header-preload-delay-onload.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Makes sure that Link headers preload resources and block window.onload after resource discovery]
+ expected:
+ if (processor == "x86") and debug: PASS
+ [PASS, FAIL]
diff --git a/testing/web-platform/meta/preload/link-header-preload-non-html.html.ini b/testing/web-platform/meta/preload/link-header-preload-non-html.html.ini
new file mode 100644
index 0000000000..44fae9730b
--- /dev/null
+++ b/testing/web-platform/meta/preload/link-header-preload-non-html.html.ini
@@ -0,0 +1,15 @@
+[link-header-preload-non-html.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [image documents should respect preload Link headers]
+ expected: FAIL
+
+ [media documents should respect preload Link headers]
+ expected:
+ if (os == "android") and fission: [FAIL, TIMEOUT]
+ FAIL
+
+ [invalid image documents should respect preload Link headers]
+ expected:
+ if (os == "android") and fission: [FAIL, NOTRUN]
+ FAIL
diff --git a/testing/web-platform/meta/preload/link-header-preload-nonce.html.ini b/testing/web-platform/meta/preload/link-header-preload-nonce.html.ini
new file mode 100644
index 0000000000..fe9be20989
--- /dev/null
+++ b/testing/web-platform/meta/preload/link-header-preload-nonce.html.ini
@@ -0,0 +1,5 @@
+[link-header-preload-nonce.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [with nonce]
+ expected: FAIL
diff --git a/testing/web-platform/meta/preload/link-header-preload.html.ini b/testing/web-platform/meta/preload/link-header-preload.html.ini
new file mode 100644
index 0000000000..ee3ff0c332
--- /dev/null
+++ b/testing/web-platform/meta/preload/link-header-preload.html.ini
@@ -0,0 +1,6 @@
+[link-header-preload.html]
+ expected:
+ if not debug: OK
+ CRASH
+ [Makes sure that Link headers preload resources]
+ expected: FAIL
diff --git a/testing/web-platform/meta/preload/modulepreload.html.ini b/testing/web-platform/meta/preload/modulepreload.html.ini
new file mode 100644
index 0000000000..46bda70a85
--- /dev/null
+++ b/testing/web-platform/meta/preload/modulepreload.html.ini
@@ -0,0 +1,47 @@
+[modulepreload.html]
+ expected: TIMEOUT
+ [link rel=modulepreload]
+ expected: TIMEOUT
+
+ [link rel=modulepreload with submodules]
+ expected: NOTRUN
+
+ [link rel=modulepreload for a module with syntax error]
+ expected: NOTRUN
+
+ [link rel=modulepreload for a module with network error]
+ expected: NOTRUN
+
+ [link rel=modulepreload with bad href attribute]
+ expected: NOTRUN
+
+ [link rel=modulepreload as=script]
+ expected: NOTRUN
+
+ [link rel=modulepreload with invalid as= value]
+ expected: NOTRUN
+
+ [link rel=modulepreload with integrity match]
+ expected: NOTRUN
+
+ [link rel=modulepreload with integrity mismatch]
+ expected: NOTRUN
+
+ [cross-origin link rel=modulepreload]
+ expected: NOTRUN
+
+ [cross-origin link rel=modulepreload crossorigin=anonymous]
+ expected: NOTRUN
+
+ [same-origin link rel=modulepreload crossorigin=anonymous]
+ expected: NOTRUN
+
+ [same-origin link rel=modulepreload crossorigin=use-credentials]
+ expected: NOTRUN
+
+ [cross-origin link rel=modulepreload crossorigin=use-credentials]
+ expected: NOTRUN
+
+ [link rel=modulepreload with integrity match2]
+ expected: NOTRUN
+
diff --git a/testing/web-platform/meta/preload/onerror-event.html.ini b/testing/web-platform/meta/preload/onerror-event.html.ini
new file mode 100644
index 0000000000..25abc78095
--- /dev/null
+++ b/testing/web-platform/meta/preload/onerror-event.html.ini
@@ -0,0 +1,3 @@
+[onerror-event.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/preload/onload-event.html.ini b/testing/web-platform/meta/preload/onload-event.html.ini
new file mode 100644
index 0000000000..61f512cf25
--- /dev/null
+++ b/testing/web-platform/meta/preload/onload-event.html.ini
@@ -0,0 +1,3 @@
+[onload-event.html]
+ [Makes sure that preloaded resources trigger the onload event]
+ expected: FAIL
diff --git a/testing/web-platform/meta/preload/preconnect-onerror-event.html.ini b/testing/web-platform/meta/preload/preconnect-onerror-event.html.ini
new file mode 100644
index 0000000000..0d2d311954
--- /dev/null
+++ b/testing/web-platform/meta/preload/preconnect-onerror-event.html.ini
@@ -0,0 +1,4 @@
+[preconnect-onerror-event.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
diff --git a/testing/web-platform/meta/preload/preconnect.html.ini b/testing/web-platform/meta/preload/preconnect.html.ini
new file mode 100644
index 0000000000..2fe16d463f
--- /dev/null
+++ b/testing/web-platform/meta/preload/preconnect.html.ini
@@ -0,0 +1,12 @@
+[preconnect.html]
+ [Test that preconnect reduces connection time to zero]
+ expected:
+ if (os == "linux") and debug and not fission and not swgl: [PASS, FAIL]
+ if (os == "linux") and debug and not fission and swgl: [PASS, FAIL]
+ if (os == "linux") and debug and fission and swgl: [PASS, FAIL]
+ if (os == "linux") and not debug and (processor == "x86_64") and not fission: [PASS, FAIL]
+ if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL]
+ if (os == "win") and not debug and (processor == "x86"): [PASS, FAIL]
+ if (os == "mac") and not debug: [PASS, FAIL]
+ if (os == "mac") and debug: [PASS, FAIL]
+ [FAIL, PASS]
diff --git a/testing/web-platform/meta/preload/prefetch-accept.html.ini b/testing/web-platform/meta/preload/prefetch-accept.html.ini
new file mode 100644
index 0000000000..e83efc8620
--- /dev/null
+++ b/testing/web-platform/meta/preload/prefetch-accept.html.ini
@@ -0,0 +1,3 @@
+[prefetch-accept.html]
+ [Document prefetch should send the exact Accept header as navigation]
+ expected: FAIL
diff --git a/testing/web-platform/meta/preload/preload-connect-to-doc.html.ini b/testing/web-platform/meta/preload/preload-connect-to-doc.html.ini
new file mode 100644
index 0000000000..e269e478ec
--- /dev/null
+++ b/testing/web-platform/meta/preload/preload-connect-to-doc.html.ini
@@ -0,0 +1,3 @@
+[preload-connect-to-doc.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/preload/preload-csp.sub.html.ini b/testing/web-platform/meta/preload/preload-csp.sub.html.ini
new file mode 100644
index 0000000000..36743ff21d
--- /dev/null
+++ b/testing/web-platform/meta/preload/preload-csp.sub.html.ini
@@ -0,0 +1,3 @@
+[preload-csp.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/preload/preload-dynamic-csp.html.ini b/testing/web-platform/meta/preload/preload-dynamic-csp.html.ini
new file mode 100644
index 0000000000..eec560939e
--- /dev/null
+++ b/testing/web-platform/meta/preload/preload-dynamic-csp.html.ini
@@ -0,0 +1,3 @@
+[preload-dynamic-csp.html]
+ [Makes sure that preload requests respect CSP directives that are added after the preload]
+ expected: FAIL
diff --git a/testing/web-platform/meta/preload/preload-error.sub.html.ini b/testing/web-platform/meta/preload/preload-error.sub.html.ini
new file mode 100644
index 0000000000..b5710aeb94
--- /dev/null
+++ b/testing/web-platform/meta/preload/preload-error.sub.html.ini
@@ -0,0 +1,51 @@
+[preload-error.sub.html]
+ [404 (image): main]
+ expected: [PASS, FAIL]
+
+ [CORS (image): main]
+ expected: [PASS, FAIL]
+
+ [CORS-error (image): preload events]
+ expected: FAIL
+
+ [CORS-error (image): main]
+ expected: [PASS, FAIL]
+
+ [404 (style): preload events]
+ expected: FAIL
+
+ [CORS-error (style): preload events]
+ expected: FAIL
+
+ [404 (script): preload events]
+ expected: FAIL
+
+ [CORS-error (script): preload events]
+ expected: FAIL
+
+ [404 (xhr): preload events]
+ expected: FAIL
+
+ [CORS-error (xhr): preload events]
+ expected: FAIL
+
+ [404 (fetch): preload events]
+ expected: FAIL
+
+ [CORS-error (fetch): preload events]
+ expected: FAIL
+
+ [Decode-error (image): preload events]
+ expected: FAIL
+
+ [MIME-error (image): main]
+ expected: [PASS, FAIL]
+
+ [MIME-error (style): preload events]
+ expected: FAIL
+
+ [Decode-error (image): main]
+ expected: [PASS, FAIL]
+
+ [success (image): main]
+ expected: [PASS, FAIL]
diff --git a/testing/web-platform/meta/preload/preload-font-crossorigin.html.ini b/testing/web-platform/meta/preload/preload-font-crossorigin.html.ini
new file mode 100644
index 0000000000..f44209f242
--- /dev/null
+++ b/testing/web-platform/meta/preload/preload-font-crossorigin.html.ini
@@ -0,0 +1,3 @@
+[preload-font-crossorigin.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/preload/preload-in-data-doc.html.ini b/testing/web-platform/meta/preload/preload-in-data-doc.html.ini
new file mode 100644
index 0000000000..c6ce11c72d
--- /dev/null
+++ b/testing/web-platform/meta/preload/preload-in-data-doc.html.ini
@@ -0,0 +1,4 @@
+[preload-in-data-doc.html]
+ expected:
+ if os == "android": PASS
+ [PASS, FAIL]
diff --git a/testing/web-platform/meta/preload/preload-invalid-resources.html.ini b/testing/web-platform/meta/preload/preload-invalid-resources.html.ini
new file mode 100644
index 0000000000..a384d6734e
--- /dev/null
+++ b/testing/web-platform/meta/preload/preload-invalid-resources.html.ini
@@ -0,0 +1,3 @@
+[preload-invalid-resources.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/preload/preload-link-cached-stylesheet-different-doc.html.ini b/testing/web-platform/meta/preload/preload-link-cached-stylesheet-different-doc.html.ini
new file mode 100644
index 0000000000..4d7785d15d
--- /dev/null
+++ b/testing/web-platform/meta/preload/preload-link-cached-stylesheet-different-doc.html.ini
@@ -0,0 +1,3 @@
+[preload-link-cached-stylesheet-different-doc.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/preload/preload-referrer-policy.html.ini b/testing/web-platform/meta/preload/preload-referrer-policy.html.ini
new file mode 100644
index 0000000000..0982e96b50
--- /dev/null
+++ b/testing/web-platform/meta/preload/preload-referrer-policy.html.ini
@@ -0,0 +1,3 @@
+[preload-referrer-policy.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/preload/preload-resource-match.https.html.ini b/testing/web-platform/meta/preload/preload-resource-match.https.html.ini
new file mode 100644
index 0000000000..e8621e4ecc
--- /dev/null
+++ b/testing/web-platform/meta/preload/preload-resource-match.https.html.ini
@@ -0,0 +1,9 @@
+[preload-resource-match.https.html]
+ [Loading fetch (no-cors) with link (anonymous) should discard the preloaded response]
+ expected: [PASS, FAIL]
+
+ [Loading fetch (no-cors) with link (use-credentials) should discard the preloaded response]
+ expected: [PASS, FAIL]
+
+ [Loading font (same-origin) with link (same-origin) should reuse the preloaded response]
+ expected: FAIL
diff --git a/testing/web-platform/meta/preload/preload-strict-dynamic.sub.html.ini b/testing/web-platform/meta/preload/preload-strict-dynamic.sub.html.ini
new file mode 100644
index 0000000000..9d068754af
--- /dev/null
+++ b/testing/web-platform/meta/preload/preload-strict-dynamic.sub.html.ini
@@ -0,0 +1,5 @@
+[preload-strict-dynamic.sub.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [static-no-nonce]
+ expected: FAIL
diff --git a/testing/web-platform/meta/preload/preload-time-to-fetch.https.html.ini b/testing/web-platform/meta/preload/preload-time-to-fetch.https.html.ini
new file mode 100644
index 0000000000..b171120ae3
--- /dev/null
+++ b/testing/web-platform/meta/preload/preload-time-to-fetch.https.html.ini
@@ -0,0 +1,5 @@
+[preload-time-to-fetch.https.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Changing a preload "as" from a previously non-matching destination should trigger a fetch]
+ expected: FAIL
diff --git a/testing/web-platform/meta/preload/preload-type-match.html.ini b/testing/web-platform/meta/preload/preload-type-match.html.ini
new file mode 100644
index 0000000000..bbd09615de
--- /dev/null
+++ b/testing/web-platform/meta/preload/preload-type-match.html.ini
@@ -0,0 +1,59 @@
+[preload-type-match.html]
+ [Preload with {as=track; type=text/vtt} should load when retrieved resource is a track]
+ expected: FAIL
+
+ [Preload with {as=script; type=text/ecmascript} should load when retrieved resource is a script]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [PASS, FAIL]
+
+ [Preload with {as=script; type=application/ecmascript} should load when retrieved resource is a script]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [PASS, FAIL]
+
+ [Preload with {as=script; type=text/javascript1.0} should load when retrieved resource is a script]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [PASS, FAIL]
+
+ [Preload with {as=script; type=text/javascript1.3} should load when retrieved resource is a script]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [PASS, FAIL]
+
+ [Preload with {as=script; type=text/javascript} should load when retrieved resource is a script]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [PASS, FAIL]
+
+ [Preload with {as=script; type=text/javascript1.5} should load when retrieved resource is a script]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [PASS, FAIL]
+
+ [Preload with {as=script; type=} should load when retrieved resource is a script]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [PASS, FAIL]
+
+ [Preload with {as=script; type=text/javascript1.4} should load when retrieved resource is a script]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [PASS, FAIL]
+
+ [Preload with {as=script; type=application/x-ecmascript} should load when retrieved resource is a script]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [PASS, FAIL]
+
+ [Preload with {as=script; type=text/jscript} should load when retrieved resource is a script]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [PASS, FAIL]
+
+ [Preload with {as=script; type=text/javascript1.2} should load when retrieved resource is a script]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [PASS, FAIL]
+
+ [Preload with {as=script; type=application/javascript} should load when retrieved resource is a script]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [PASS, FAIL]
+
+ [Preload with {as=script; type=application/x-javascript} should load when retrieved resource is a script]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [PASS, FAIL]
+
+ [Preload with {as=script; type=text/javascript1.1} should load when retrieved resource is a script]
+ expected:
+ if (processor == "x86") and (os == "win") and not debug: [PASS, FAIL]
diff --git a/testing/web-platform/meta/preload/preload-with-type.html.ini b/testing/web-platform/meta/preload/preload-with-type.html.ini
new file mode 100644
index 0000000000..4356fc247b
--- /dev/null
+++ b/testing/web-platform/meta/preload/preload-with-type.html.ini
@@ -0,0 +1,4 @@
+[preload-with-type.html]
+ [Makes sure that preloaded resources with a type attribute trigger the onload event]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/preload/single-download-late-used-preload.html.ini b/testing/web-platform/meta/preload/single-download-late-used-preload.html.ini
new file mode 100644
index 0000000000..047c4734f2
--- /dev/null
+++ b/testing/web-platform/meta/preload/single-download-late-used-preload.html.ini
@@ -0,0 +1,5 @@
+[single-download-late-used-preload.html]
+ disabled:
+ if verify: fails in verify mode
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/preload/single-download-preload.html.ini b/testing/web-platform/meta/preload/single-download-preload.html.ini
new file mode 100644
index 0000000000..6b6cf7bdd2
--- /dev/null
+++ b/testing/web-platform/meta/preload/single-download-preload.html.ini
@@ -0,0 +1,9 @@
+[single-download-preload.html]
+ disabled:
+ if verify: fails in verify mode
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Makes sure that preloaded resources are not downloaded again when used]
+ expected:
+ if (os == "android") and fission: [FAIL, NOTRUN]
+ FAIL
diff --git a/testing/web-platform/meta/preload/subresource-integrity-font.html.ini b/testing/web-platform/meta/preload/subresource-integrity-font.html.ini
new file mode 100644
index 0000000000..f1b09123f7
--- /dev/null
+++ b/testing/web-platform/meta/preload/subresource-integrity-font.html.ini
@@ -0,0 +1,26 @@
+[subresource-integrity-font.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [<crossorigin="anonymous"> Same-origin with incorrect hash.]
+ expected: FAIL
+
+ [<crossorigin="anonymous"> Same-origin with sha256 match, sha512 mismatch.]
+ expected: FAIL
+
+ [Same-origin, not CORS request, with incorrect sha256 hash.]
+ expected: FAIL
+
+ [<crossorigin="anonymous"> Cross-origin with incorrect sha256 hash, ACAO: *.]
+ expected: FAIL
+
+ [<crossorigin="anonymous"> Cross-origin with correct sha256 hash, with CORS-ineligible resource.]
+ expected: FAIL
+
+ [Cross-origin, not CORS request, with correct sha256.]
+ expected: FAIL
+
+ [Cross-origin, not CORS request, with incorrect sha256.]
+ expected: FAIL
+
+ [<crossorigin="use-credentials"> Cross-origin with incorrect sha256 hash, CORS-eligible.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/preload/subresource-integrity-partial-image.html.ini b/testing/web-platform/meta/preload/subresource-integrity-partial-image.html.ini
new file mode 100644
index 0000000000..5aec18fac5
--- /dev/null
+++ b/testing/web-platform/meta/preload/subresource-integrity-partial-image.html.ini
@@ -0,0 +1,3 @@
+[subresource-integrity-partial-image.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/preload/subresource-integrity.html.ini b/testing/web-platform/meta/preload/subresource-integrity.html.ini
new file mode 100644
index 0000000000..95cda2a3ad
--- /dev/null
+++ b/testing/web-platform/meta/preload/subresource-integrity.html.ini
@@ -0,0 +1,65 @@
+[subresource-integrity.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Cross-origin script, not CORS request, with hash mismatch]
+ expected: FAIL
+
+ [<crossorigin='use-credentials'> style with incorrect hash CORS-eligible]
+ expected: FAIL
+
+ [Same-origin script with sha256 match, sha512 mismatch]
+ expected: FAIL
+
+ [<crossorigin='use-credentials'> script with incorrect hash CORS-eligible]
+ expected: FAIL
+
+ [Same-origin style with sha256 match, sha512 mismatch]
+ expected: FAIL
+
+ [<crossorigin='anonymous'> script with CORS-ineligible resource]
+ expected: FAIL
+
+ [<crossorigin='anonymous'> style with incorrect hash, ACAO: *]
+ expected: FAIL
+
+ [Cross-origin style, not CORS request, with hash mismatch]
+ expected: FAIL
+
+ [Cross-origin style, not CORS request, with correct hash]
+ expected: FAIL
+
+ [<crossorigin='anonymous'> script with incorrect hash, ACAO: *]
+ expected: FAIL
+
+ [Cross-origin script, not CORS request, with correct hash]
+ expected: FAIL
+
+ [Same-origin script with incorrect hash.]
+ expected: FAIL
+
+ [Same-origin style with incorrect hash.]
+ expected: FAIL
+
+ [<crossorigin='anonymous'> style with CORS-ineligible resource]
+ expected: FAIL
+
+ [Same-origin image with sha256 match, sha512 mismatch]
+ expected: FAIL
+
+ [Same-origin image with incorrect hash.]
+ expected: FAIL
+
+ [<crossorigin='anonymous'> image with CORS-ineligible resource]
+ expected: FAIL
+
+ [Cross-origin image, not CORS request, with hash mismatch]
+ expected: FAIL
+
+ [<crossorigin='use-credentials'> image with incorrect hash CORS-eligible]
+ expected: FAIL
+
+ [Cross-origin image, not CORS request, with correct hash]
+ expected: FAIL
+
+ [<crossorigin='anonymous'> image with incorrect hash, ACAO: *]
+ expected: FAIL