summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/service-workers/service-worker/navigation-preload
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/service-workers/service-worker/navigation-preload')
-rw-r--r--testing/web-platform/meta/service-workers/service-worker/navigation-preload/__dir__.ini3
-rw-r--r--testing/web-platform/meta/service-workers/service-worker/navigation-preload/broken-chunked-encoding.https.html.ini10
-rw-r--r--testing/web-platform/meta/service-workers/service-worker/navigation-preload/chunked-encoding.https.html.ini6
-rw-r--r--testing/web-platform/meta/service-workers/service-worker/navigation-preload/empty-preload-response-body.https.html.ini6
-rw-r--r--testing/web-platform/meta/service-workers/service-worker/navigation-preload/get-state.https.html.ini14
-rw-r--r--testing/web-platform/meta/service-workers/service-worker/navigation-preload/navigationPreload.https.html.ini6
-rw-r--r--testing/web-platform/meta/service-workers/service-worker/navigation-preload/redirect.https.html.ini18
-rw-r--r--testing/web-platform/meta/service-workers/service-worker/navigation-preload/request-headers.https.html.ini6
-rw-r--r--testing/web-platform/meta/service-workers/service-worker/navigation-preload/resource-timing.https.html.ini6
-rw-r--r--testing/web-platform/meta/service-workers/service-worker/navigation-preload/samesite-iframe.https.html.ini6
10 files changed, 81 insertions, 0 deletions
diff --git a/testing/web-platform/meta/service-workers/service-worker/navigation-preload/__dir__.ini b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/__dir__.ini
new file mode 100644
index 0000000000..0d12656765
--- /dev/null
+++ b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/__dir__.ini
@@ -0,0 +1,3 @@
+implementation-status: backlog
+bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1564235
+leak-threshold: [tab:102400]
diff --git a/testing/web-platform/meta/service-workers/service-worker/navigation-preload/broken-chunked-encoding.https.html.ini b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/broken-chunked-encoding.https.html.ini
new file mode 100644
index 0000000000..471bfd4c52
--- /dev/null
+++ b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/broken-chunked-encoding.https.html.ini
@@ -0,0 +1,10 @@
+[broken-chunked-encoding.https.html]
+ expected:
+ if os == "win": [OK, TIMEOUT]
+ [FetchEvent#preloadResponse resolves even if the body is sent with broken chunked encoding.]
+ expected:
+ if os == "win": [PASS, TIMEOUT]
+
+ [FetchEvent#preloadResponse resolves even if the body is sent with broken chunked encoding with some delays]
+ expected:
+ if os == "win": [PASS, NOTRUN]
diff --git a/testing/web-platform/meta/service-workers/service-worker/navigation-preload/chunked-encoding.https.html.ini b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/chunked-encoding.https.html.ini
new file mode 100644
index 0000000000..4dd2bc2071
--- /dev/null
+++ b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/chunked-encoding.https.html.ini
@@ -0,0 +1,6 @@
+[chunked-encoding.https.html]
+ expected:
+ if os == "win": [OK, TIMEOUT]
+ [Navigation Preload must work with chunked encoding.]
+ expected:
+ if os == "win": [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/service-workers/service-worker/navigation-preload/empty-preload-response-body.https.html.ini b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/empty-preload-response-body.https.html.ini
new file mode 100644
index 0000000000..a16bd9ca4d
--- /dev/null
+++ b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/empty-preload-response-body.https.html.ini
@@ -0,0 +1,6 @@
+[empty-preload-response-body.https.html]
+ expected:
+ if os == "win": [OK, TIMEOUT]
+ [Navigation Preload empty response body.]
+ expected:
+ if os == "win": [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/service-workers/service-worker/navigation-preload/get-state.https.html.ini b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/get-state.https.html.ini
new file mode 100644
index 0000000000..1bbe1ad99a
--- /dev/null
+++ b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/get-state.https.html.ini
@@ -0,0 +1,14 @@
+[get-state.https.html]
+ expected:
+ if os == "win": [OK, TIMEOUT]
+ [getState]
+ expected:
+ if os == "win": [PASS, TIMEOUT]
+
+ [getState from a worker]
+ expected:
+ if os == "win": [PASS, NOTRUN]
+
+ [no active worker]
+ expected:
+ if os == "win": [PASS, TIMEOUT, NOTRUN]
diff --git a/testing/web-platform/meta/service-workers/service-worker/navigation-preload/navigationPreload.https.html.ini b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/navigationPreload.https.html.ini
new file mode 100644
index 0000000000..3d92b42106
--- /dev/null
+++ b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/navigationPreload.https.html.ini
@@ -0,0 +1,6 @@
+[navigationPreload.https.html]
+ expected:
+ if os == "win": [OK, TIMEOUT]
+ [The navigationPreload attribute must return service worker registration's NavigationPreloadManager object.]
+ expected:
+ if os == "win": [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/service-workers/service-worker/navigation-preload/redirect.https.html.ini b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/redirect.https.html.ini
new file mode 100644
index 0000000000..dbf55c78da
--- /dev/null
+++ b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/redirect.https.html.ini
@@ -0,0 +1,18 @@
+[redirect.https.html]
+ expected:
+ if os == "win": [OK, TIMEOUT]
+ [Navigation Preload redirect response.]
+ expected:
+ if os == "win": [PASS, TIMEOUT]
+
+ [Navigation Preload no-location redirect response.]
+ expected:
+ if os == "win": [PASS, NOTRUN]
+
+ [Navigation Preload no-location redirect response with body.]
+ expected:
+ if os == "win": [PASS, NOTRUN]
+
+ [Navigation Preload redirect to the same scope.]
+ expected:
+ if os == "win": [PASS, TIMEOUT, NOTRUN]
diff --git a/testing/web-platform/meta/service-workers/service-worker/navigation-preload/request-headers.https.html.ini b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/request-headers.https.html.ini
new file mode 100644
index 0000000000..b381d852dd
--- /dev/null
+++ b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/request-headers.https.html.ini
@@ -0,0 +1,6 @@
+[request-headers.https.html]
+ expected:
+ if os == "win": [OK, TIMEOUT]
+ [Navigation Preload request headers.]
+ expected:
+ if os == "win": [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/service-workers/service-worker/navigation-preload/resource-timing.https.html.ini b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/resource-timing.https.html.ini
new file mode 100644
index 0000000000..4607aaad5d
--- /dev/null
+++ b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/resource-timing.https.html.ini
@@ -0,0 +1,6 @@
+[resource-timing.https.html]
+ expected:
+ if os == "win": [OK, TIMEOUT]
+ [Navigation Preload Resource Timing.]
+ expected:
+ if os == "win": [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/service-workers/service-worker/navigation-preload/samesite-iframe.https.html.ini b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/samesite-iframe.https.html.ini
new file mode 100644
index 0000000000..d64d46dc19
--- /dev/null
+++ b/testing/web-platform/meta/service-workers/service-worker/navigation-preload/samesite-iframe.https.html.ini
@@ -0,0 +1,6 @@
+[samesite-iframe.https.html]
+ expected:
+ if os == "win": [OK, TIMEOUT]
+ [Navigation Preload for same site iframe]
+ expected:
+ if os == "win": [PASS, TIMEOUT]