summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/signed-exchange/resources/sxg
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/signed-exchange/resources/sxg')
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/__dir__.headers2
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/check-cert-request.sxgbin0 -> 990 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/fallback-to-another-sxg.sxgbin0 -> 942 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/invalid-sxg-referrer-remote-origin.sxgbin0 -> 1014 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/invalid-sxg-referrer-same-origin.sxgbin0 -> 1004 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/nested-sxg.sxgbin0 -> 1965 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/register-sw-after-fallback.sxgbin0 -> 999 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/register-sw-from-sxg.sxgbin0 -> 1579 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-cert-not-found-on-alt-origin.sxgbin0 -> 996 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-cert-not-found.sxgbin0 -> 992 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-data-cert-url.sxgbin0 -> 1540 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-hsts.sxgbin0 -> 1035 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-inner-url-bom.sxgbin0 -> 994 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-cert-format-on-alt-origin.sxgbin0 -> 997 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-cert-format.sxgbin0 -> 993 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-cert-sha256-cert-on-alt-origin.sxgbin0 -> 995 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-cert-sha256.sxgbin0 -> 991 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-format.sxg1
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-integrity-header.sxgbin0 -> 991 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-utf8-inner-url.sxgbin0 -> 985 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-validity-url.sxgbin0 -> 923 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-location-cert-on-alt-origin.sxgbin0 -> 995 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-location.sxgbin0 -> 991 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-merkle-integrity-error.sxgbin0 -> 999 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-navigation-timing.sxgbin0 -> 1075 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-noncacheable.sxgbin0 -> 1014 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-prefetch-test.sxgbin0 -> 832 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-referrer-remote-origin.sxgbin0 -> 991 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-referrer-same-origin.sxgbin0 -> 981 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource-header-integrity-mismatch.sxgbin0 -> 996 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource-header-integrity-mismatch.sxg.sub.headers1
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource-script.sxgbin0 -> 952 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource.sxgbin0 -> 996 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource.sxg.sub.headers1
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-utf8-inner-url.sxgbin0 -> 990 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-validity-period-too-long-cert-on-alt-origin.sxgbin0 -> 995 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-validity-period-too-long.sxgbin0 -> 991 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-variants-match.sxgbin0 -> 1040 bytes
-rw-r--r--testing/web-platform/tests/signed-exchange/resources/sxg/sxg-variants-mismatch.sxgbin0 -> 1045 bytes
39 files changed, 5 insertions, 0 deletions
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/__dir__.headers b/testing/web-platform/tests/signed-exchange/resources/sxg/__dir__.headers
new file mode 100644
index 0000000000..83a3c128cf
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/__dir__.headers
@@ -0,0 +1,2 @@
+Content-Type: application/signed-exchange;v=b3
+X-Content-Type-Options: nosniff
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/check-cert-request.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/check-cert-request.sxg
new file mode 100644
index 0000000000..8129b5479c
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/check-cert-request.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/fallback-to-another-sxg.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/fallback-to-another-sxg.sxg
new file mode 100644
index 0000000000..b5dcb6b86d
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/fallback-to-another-sxg.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/invalid-sxg-referrer-remote-origin.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/invalid-sxg-referrer-remote-origin.sxg
new file mode 100644
index 0000000000..db08ad072c
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/invalid-sxg-referrer-remote-origin.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/invalid-sxg-referrer-same-origin.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/invalid-sxg-referrer-same-origin.sxg
new file mode 100644
index 0000000000..5057e9ddf4
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/invalid-sxg-referrer-same-origin.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/nested-sxg.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/nested-sxg.sxg
new file mode 100644
index 0000000000..6d8538882d
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/nested-sxg.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/register-sw-after-fallback.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/register-sw-after-fallback.sxg
new file mode 100644
index 0000000000..20ae275818
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/register-sw-after-fallback.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/register-sw-from-sxg.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/register-sw-from-sxg.sxg
new file mode 100644
index 0000000000..792222029f
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/register-sw-from-sxg.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-cert-not-found-on-alt-origin.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-cert-not-found-on-alt-origin.sxg
new file mode 100644
index 0000000000..2a7dbf6fa6
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-cert-not-found-on-alt-origin.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-cert-not-found.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-cert-not-found.sxg
new file mode 100644
index 0000000000..072125400a
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-cert-not-found.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-data-cert-url.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-data-cert-url.sxg
new file mode 100644
index 0000000000..b5972d545c
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-data-cert-url.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-hsts.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-hsts.sxg
new file mode 100644
index 0000000000..8f57c63dfa
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-hsts.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-inner-url-bom.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-inner-url-bom.sxg
new file mode 100644
index 0000000000..0093eb1d37
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-inner-url-bom.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-cert-format-on-alt-origin.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-cert-format-on-alt-origin.sxg
new file mode 100644
index 0000000000..62acedd390
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-cert-format-on-alt-origin.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-cert-format.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-cert-format.sxg
new file mode 100644
index 0000000000..30e4fcd912
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-cert-format.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-cert-sha256-cert-on-alt-origin.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-cert-sha256-cert-on-alt-origin.sxg
new file mode 100644
index 0000000000..066a3cc0a4
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-cert-sha256-cert-on-alt-origin.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-cert-sha256.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-cert-sha256.sxg
new file mode 100644
index 0000000000..46d2bb1386
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-cert-sha256.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-format.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-format.sxg
new file mode 100644
index 0000000000..3fbb151b5c
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-format.sxg
@@ -0,0 +1 @@
+This is an invalid Signed Exchange.
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-integrity-header.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-integrity-header.sxg
new file mode 100644
index 0000000000..95d358245c
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-integrity-header.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-utf8-inner-url.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-utf8-inner-url.sxg
new file mode 100644
index 0000000000..65357e14ac
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-utf8-inner-url.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-validity-url.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-validity-url.sxg
new file mode 100644
index 0000000000..62e88d6386
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-invalid-validity-url.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-location-cert-on-alt-origin.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-location-cert-on-alt-origin.sxg
new file mode 100644
index 0000000000..a2ddc77951
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-location-cert-on-alt-origin.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-location.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-location.sxg
new file mode 100644
index 0000000000..1678b751bc
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-location.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-merkle-integrity-error.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-merkle-integrity-error.sxg
new file mode 100644
index 0000000000..0c6dce01da
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-merkle-integrity-error.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-navigation-timing.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-navigation-timing.sxg
new file mode 100644
index 0000000000..56a90d5125
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-navigation-timing.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-noncacheable.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-noncacheable.sxg
new file mode 100644
index 0000000000..88439982f6
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-noncacheable.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-prefetch-test.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-prefetch-test.sxg
new file mode 100644
index 0000000000..f452270c5b
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-prefetch-test.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-referrer-remote-origin.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-referrer-remote-origin.sxg
new file mode 100644
index 0000000000..00aa755efc
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-referrer-remote-origin.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-referrer-same-origin.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-referrer-same-origin.sxg
new file mode 100644
index 0000000000..cc7793efa2
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-referrer-same-origin.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource-header-integrity-mismatch.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource-header-integrity-mismatch.sxg
new file mode 100644
index 0000000000..ace89dde64
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource-header-integrity-mismatch.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource-header-integrity-mismatch.sxg.sub.headers b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource-header-integrity-mismatch.sxg.sub.headers
new file mode 100644
index 0000000000..8f1b47ef06
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource-header-integrity-mismatch.sxg.sub.headers
@@ -0,0 +1 @@
+Link: <https://{{hosts[alt][]}}:{{ports[https][0]}}/signed-exchange/resources/sxg/sxg-subresource-script.sxg>;rel=alternate;type="application/signed-exchange;v=b3";anchor="https://127.0.0.1:8444/signed-exchange/resources/sxg-subresource-script.js";
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource-script.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource-script.sxg
new file mode 100644
index 0000000000..fe1bd97645
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource-script.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource.sxg
new file mode 100644
index 0000000000..97823ee8f7
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource.sxg.sub.headers b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource.sxg.sub.headers
new file mode 100644
index 0000000000..8bc3938df8
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-subresource.sxg.sub.headers
@@ -0,0 +1 @@
+Link: <https://{{host}}:{{ports[https][0]}}/signed-exchange/resources/sxg/sxg-subresource-script.sxg>;rel=alternate;type="application/signed-exchange;v=b3";anchor="https://127.0.0.1:8444/signed-exchange/resources/sxg-subresource-script.js";
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-utf8-inner-url.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-utf8-inner-url.sxg
new file mode 100644
index 0000000000..3edf285f1b
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-utf8-inner-url.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-validity-period-too-long-cert-on-alt-origin.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-validity-period-too-long-cert-on-alt-origin.sxg
new file mode 100644
index 0000000000..294f97b097
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-validity-period-too-long-cert-on-alt-origin.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-validity-period-too-long.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-validity-period-too-long.sxg
new file mode 100644
index 0000000000..e90d9bc66d
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-validity-period-too-long.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-variants-match.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-variants-match.sxg
new file mode 100644
index 0000000000..aed8bd175d
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-variants-match.sxg
Binary files differ
diff --git a/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-variants-mismatch.sxg b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-variants-mismatch.sxg
new file mode 100644
index 0000000000..ae96b7213f
--- /dev/null
+++ b/testing/web-platform/tests/signed-exchange/resources/sxg/sxg-variants-mismatch.sxg
Binary files differ