1
0
Fork 0
firefox/testing/web-platform/tests/signed-exchange
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00
..
reporting Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
resources Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
service-workers Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
subresource Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
check-cert-request.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
fallback-to-another-sxg.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
META.yml Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
nested-sxg.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
README.md Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-data-cert-url.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-double-prefetch.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-fallback-with-fragment.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-hsts.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-inner-url-bom.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-invalid-utf8-inner-url.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-invalid-validity-url.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-location-fragment.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-location.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-merkle-integrity-error.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-navigation-timing.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-non-secure-origin.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-noncacheable.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-prefetch-merkle-integrity-error.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-prefetch-resource-timing.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-prefetch.tentative.https.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-referrer-policy-header.tentative.https.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-referrer-remote-physical-remote-logical.tentative.https.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-referrer-remote-physical-same-logical.tentative.https.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-referrer-same-physical-remote-logical.tentative.https.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-referrer-same-physical-same-logical.tentative.https.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-utf8-inner-url.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-variants-match.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-variants-mismatch.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
sxg-version1b2.tentative.html Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00

This directory contains tests for the b3 implementation snapshot of the Signed HTTP Exchanges.

resources directory contains pregenerated signed exchanges and certificate files. To run the tests in this directory, resources/127.0.0.1.sxg.pem must be added as a trusted certificate in your OS/browser, or your browser must be configured to ignore errors for that certificate.

Also, these pregenerated signed exchanges and cert files are likely to be expired, since they have short lifetime (maximum 7 days). If your browser does not have an option to ignore certificate errors, regenerate these files by running generate-test-sxgs.sh in the resource directory before running the tests.

generate-test-sxgs.sh requires command-line tools in the webpackage repository. To install them, run:

go get -u github.com/WICG/webpackage/go/signedexchange/cmd/...
export PATH=$PATH:$(go env GOPATH)/bin