summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/loading
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/loading
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/loading')
-rw-r--r--testing/web-platform/meta/loading/early-hints/__dir__.ini2
-rw-r--r--testing/web-platform/meta/loading/early-hints/coep-early-hints-none-final-require-corp.h2.window.js.ini3
-rw-r--r--testing/web-platform/meta/loading/early-hints/coep-early-hints-require-corp-final-none.h2.window.js.ini3
-rw-r--r--testing/web-platform/meta/loading/early-hints/iframe-pdf.h2.window.js.ini5
-rw-r--r--testing/web-platform/meta/loading/early-hints/invalid-headers-in-early-hints.h2.window.js.ini6
-rw-r--r--testing/web-platform/meta/loading/early-hints/modulepreload-in-early-hints.h2.window.js.ini3
-rw-r--r--testing/web-platform/meta/loading/early-hints/preload-with-csp-document-disallow.h2.window.js.ini4
-rw-r--r--testing/web-platform/meta/loading/early-hints/preload-without-csp-document-disallow.h2.window.js.ini4
-rw-r--r--testing/web-platform/meta/loading/early-hints/referrer-policy-unsafe-url.h2.window.js.ini3
-rw-r--r--testing/web-platform/meta/loading/lazyload/__dir__.ini1
-rw-r--r--testing/web-platform/meta/loading/preloader-css-import-no-semicolon.tentative.html.ini3
-rw-r--r--testing/web-platform/meta/loading/preloader-css-import-single-quote.tentative.html.ini3
-rw-r--r--testing/web-platform/meta/loading/preloader-css-import.tentative.html.ini3
-rw-r--r--testing/web-platform/meta/loading/preloader-link-media.tentative.html.ini3
14 files changed, 46 insertions, 0 deletions
diff --git a/testing/web-platform/meta/loading/early-hints/__dir__.ini b/testing/web-platform/meta/loading/early-hints/__dir__.ini
new file mode 100644
index 0000000000..cb47433729
--- /dev/null
+++ b/testing/web-platform/meta/loading/early-hints/__dir__.ini
@@ -0,0 +1,2 @@
+lsan-allowed: [mozilla::net::AddStaticElement]
+prefs: [network.early-hints.enabled: true]
diff --git a/testing/web-platform/meta/loading/early-hints/coep-early-hints-none-final-require-corp.h2.window.js.ini b/testing/web-platform/meta/loading/early-hints/coep-early-hints-none-final-require-corp.h2.window.js.ini
new file mode 100644
index 0000000000..230c1f8838
--- /dev/null
+++ b/testing/web-platform/meta/loading/early-hints/coep-early-hints-none-final-require-corp.h2.window.js.ini
@@ -0,0 +1,3 @@
+[coep-early-hints-none-final-require-corp.h2.window.html]
+ [Early Hints COEP mismatch: Early Hints policy = unsafe-none, final response policy = require-corp.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/loading/early-hints/coep-early-hints-require-corp-final-none.h2.window.js.ini b/testing/web-platform/meta/loading/early-hints/coep-early-hints-require-corp-final-none.h2.window.js.ini
new file mode 100644
index 0000000000..6f84088d60
--- /dev/null
+++ b/testing/web-platform/meta/loading/early-hints/coep-early-hints-require-corp-final-none.h2.window.js.ini
@@ -0,0 +1,3 @@
+[coep-early-hints-require-corp-final-none.h2.window.html]
+ [Early Hints COEP mismatch: Early Hints policy = require-corp, final response policy = unsafe-none.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/loading/early-hints/iframe-pdf.h2.window.js.ini b/testing/web-platform/meta/loading/early-hints/iframe-pdf.h2.window.js.ini
new file mode 100644
index 0000000000..396417dfb9
--- /dev/null
+++ b/testing/web-platform/meta/loading/early-hints/iframe-pdf.h2.window.js.ini
@@ -0,0 +1,5 @@
+[iframe-pdf.h2.window.html]
+ [Early hints for an iframe of which content is pdf should be ignored.]
+ expected:
+ if (os == 'android'): [PASS, FAIL]
+ FAIL
diff --git a/testing/web-platform/meta/loading/early-hints/invalid-headers-in-early-hints.h2.window.js.ini b/testing/web-platform/meta/loading/early-hints/invalid-headers-in-early-hints.h2.window.js.ini
new file mode 100644
index 0000000000..9156ed0d70
--- /dev/null
+++ b/testing/web-platform/meta/loading/early-hints/invalid-headers-in-early-hints.h2.window.js.ini
@@ -0,0 +1,6 @@
+[invalid-headers-in-early-hints.h2.window.html]
+ [Early Hints contains invalid header: newline byte]
+ expected: FAIL
+
+ [Early Hints contains invalid header: nul byte]
+ expected: FAIL
diff --git a/testing/web-platform/meta/loading/early-hints/modulepreload-in-early-hints.h2.window.js.ini b/testing/web-platform/meta/loading/early-hints/modulepreload-in-early-hints.h2.window.js.ini
new file mode 100644
index 0000000000..1265fc0cc1
--- /dev/null
+++ b/testing/web-platform/meta/loading/early-hints/modulepreload-in-early-hints.h2.window.js.ini
@@ -0,0 +1,3 @@
+[modulepreload-in-early-hints.h2.window.html]
+ [Modulepreload in an early hints.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/loading/early-hints/preload-with-csp-document-disallow.h2.window.js.ini b/testing/web-platform/meta/loading/early-hints/preload-with-csp-document-disallow.h2.window.js.ini
new file mode 100644
index 0000000000..56703320b6
--- /dev/null
+++ b/testing/web-platform/meta/loading/early-hints/preload-with-csp-document-disallow.h2.window.js.ini
@@ -0,0 +1,4 @@
+[preload-with-csp-document-disallow.h2.window.html]
+ expected: TIMEOUT
+ [Early hints preload CSP = allowed, document disallowed the preload later.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/loading/early-hints/preload-without-csp-document-disallow.h2.window.js.ini b/testing/web-platform/meta/loading/early-hints/preload-without-csp-document-disallow.h2.window.js.ini
new file mode 100644
index 0000000000..320bdf496b
--- /dev/null
+++ b/testing/web-platform/meta/loading/early-hints/preload-without-csp-document-disallow.h2.window.js.ini
@@ -0,0 +1,4 @@
+[preload-without-csp-document-disallow.h2.window.html]
+ expected: TIMEOUT
+ [Early hints preload CSP = absent, document disallowed the preload later.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/loading/early-hints/referrer-policy-unsafe-url.h2.window.js.ini b/testing/web-platform/meta/loading/early-hints/referrer-policy-unsafe-url.h2.window.js.ini
new file mode 100644
index 0000000000..b2692b6369
--- /dev/null
+++ b/testing/web-platform/meta/loading/early-hints/referrer-policy-unsafe-url.h2.window.js.ini
@@ -0,0 +1,3 @@
+[referrer-policy-unsafe-url.h2.window.html]
+ [Referrer policy: unsafe-url]
+ expected: FAIL
diff --git a/testing/web-platform/meta/loading/lazyload/__dir__.ini b/testing/web-platform/meta/loading/lazyload/__dir__.ini
new file mode 100644
index 0000000000..44f1f1ce96
--- /dev/null
+++ b/testing/web-platform/meta/loading/lazyload/__dir__.ini
@@ -0,0 +1 @@
+prefs: [dom.image-lazy-loading.enabled:true]
diff --git a/testing/web-platform/meta/loading/preloader-css-import-no-semicolon.tentative.html.ini b/testing/web-platform/meta/loading/preloader-css-import-no-semicolon.tentative.html.ini
new file mode 100644
index 0000000000..8ca61c786c
--- /dev/null
+++ b/testing/web-platform/meta/loading/preloader-css-import-no-semicolon.tentative.html.ini
@@ -0,0 +1,3 @@
+[preloader-css-import-no-semicolon.tentative.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/loading/preloader-css-import-single-quote.tentative.html.ini b/testing/web-platform/meta/loading/preloader-css-import-single-quote.tentative.html.ini
new file mode 100644
index 0000000000..65343f44f3
--- /dev/null
+++ b/testing/web-platform/meta/loading/preloader-css-import-single-quote.tentative.html.ini
@@ -0,0 +1,3 @@
+[preloader-css-import-single-quote.tentative.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/loading/preloader-css-import.tentative.html.ini b/testing/web-platform/meta/loading/preloader-css-import.tentative.html.ini
new file mode 100644
index 0000000000..9eddb99a5e
--- /dev/null
+++ b/testing/web-platform/meta/loading/preloader-css-import.tentative.html.ini
@@ -0,0 +1,3 @@
+[preloader-css-import.tentative.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/loading/preloader-link-media.tentative.html.ini b/testing/web-platform/meta/loading/preloader-link-media.tentative.html.ini
new file mode 100644
index 0000000000..a410a5bbd3
--- /dev/null
+++ b/testing/web-platform/meta/loading/preloader-link-media.tentative.html.ini
@@ -0,0 +1,3 @@
+[preloader-link-media.tentative.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]