summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/loading
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/loading
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
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/early-hints-response-time.h2.html.ini3
-rw-r--r--testing/web-platform/meta/loading/early-hints/iframe-coep-disallow.h2.html.ini4
-rw-r--r--testing/web-platform/meta/loading/early-hints/iframe-pdf.h2.window.js.ini4
-rw-r--r--testing/web-platform/meta/loading/early-hints/iframe-x-frame-options-deny.h2.window.js.ini5
-rw-r--r--testing/web-platform/meta/loading/early-hints/invalid-headers-in-early-hints.h2.window.js.ini8
-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/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
15 files changed, 55 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..368404d1e0
--- /dev/null
+++ b/testing/web-platform/meta/loading/early-hints/__dir__.ini
@@ -0,0 +1,2 @@
+prefs: [network.early-hints.enabled: true]
+lsan-allowed: [AllocateProtoAndIfaceCache, InitializeStaticHeaders, mozilla::detail::HashTable]
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/early-hints-response-time.h2.html.ini b/testing/web-platform/meta/loading/early-hints/early-hints-response-time.h2.html.ini
new file mode 100644
index 0000000000..f1d52e533e
--- /dev/null
+++ b/testing/web-platform/meta/loading/early-hints/early-hints-response-time.h2.html.ini
@@ -0,0 +1,3 @@
+[early-hints-response-time.h2.html]
+ [Interim response times should correspond to delays (h2)]
+ expected: FAIL
diff --git a/testing/web-platform/meta/loading/early-hints/iframe-coep-disallow.h2.html.ini b/testing/web-platform/meta/loading/early-hints/iframe-coep-disallow.h2.html.ini
new file mode 100644
index 0000000000..3cddd9ab48
--- /dev/null
+++ b/testing/web-platform/meta/loading/early-hints/iframe-coep-disallow.h2.html.ini
@@ -0,0 +1,4 @@
+[iframe-coep-disallow.h2.html]
+ [Early hints for an iframe that violates Cross-Origin-Embedder-Policy should be ignored.]
+ expected:
+ if (os == "android") and not debug: [PASS, 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..6f79126fe2
--- /dev/null
+++ b/testing/web-platform/meta/loading/early-hints/iframe-pdf.h2.window.js.ini
@@ -0,0 +1,4 @@
+[iframe-pdf.h2.window.html]
+ [Early hints for an iframe of which content is pdf should be ignored.]
+ expected:
+ FAIL
diff --git a/testing/web-platform/meta/loading/early-hints/iframe-x-frame-options-deny.h2.window.js.ini b/testing/web-platform/meta/loading/early-hints/iframe-x-frame-options-deny.h2.window.js.ini
new file mode 100644
index 0000000000..cb1c05a9cf
--- /dev/null
+++ b/testing/web-platform/meta/loading/early-hints/iframe-x-frame-options-deny.h2.window.js.ini
@@ -0,0 +1,5 @@
+[iframe-x-frame-options-deny.h2.window.html]
+ [Early hints for an iframe that violates X-Frame-Options should be ignored.]
+ expected:
+ if (os == "mac") and not debug: [PASS, FAIL]
+ if (os == "android") and not debug: [PASS, 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..f0d46d46e8
--- /dev/null
+++ b/testing/web-platform/meta/loading/early-hints/invalid-headers-in-early-hints.h2.window.js.ini
@@ -0,0 +1,8 @@
+[invalid-headers-in-early-hints.h2.window.html]
+ [Early Hints contains invalid header: newline byte]
+ expected:
+ if (os == "mac") and not debug: [PASS, FAIL]
+
+ [Early Hints contains invalid header: nul byte]
+ expected:
+ if (os == "mac") and not debug: [PASS, 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/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]