gecko-dev/testing/web-platform/tests/signed-exchange
Tsuyoshi Horo f1a89b801f Bug 1564777 [wpt PR 17638] - Add WPT test of Signed Exchange subresource prefetch, a=testonly
Automatic update from web-platform-tests
Add WPT test of Signed Exchange subresource prefetch

Bug: 935267
Change-Id: I8120c95ab48bf6273bfa6588f06c4fc615a57d6e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1687016
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675197}

--

wpt-commits: 229078fb1a8f9c33ed21807aee288222ca9a3473
wpt-pr: 17638
2019-07-24 13:33:12 +01:00
..
appcache
reporting
resources Bug 1564777 [wpt PR 17638] - Add WPT test of Signed Exchange subresource prefetch, a=testonly 2019-07-24 13:33:12 +01:00
service-workers
subresource Bug 1564777 [wpt PR 17638] - Add WPT test of Signed Exchange subresource prefetch, a=testonly 2019-07-24 13:33:12 +01:00
check-cert-request.tentative.html
fallback-to-another-sxg.tentative.html
META.yml
nested-sxg.tentative.html
README.md
sxg-data-cert-url.tentative.html
sxg-double-prefetch.tentative.html
sxg-fallback-with-fragment.tentative.html
sxg-hsts.tentative.html
sxg-inner-url-bom.tentative.html
sxg-invalid-utf8-inner-url.tentative.html
sxg-invalid-validity-url.tentative.html
sxg-location-fragment.tentative.html
sxg-location.tentative.html
sxg-merkle-integrity-error.tentative.html
sxg-navigation-timing.tentative.html
sxg-non-secure-origin.tentative.html
sxg-noncacheable.tentative.html
sxg-prefetch-merkle-integrity-error.tentative.html
sxg-prefetch-resource-timing.tentative.html
sxg-referrer-policy-header.tentative.https.html
sxg-referrer-remote-physical-remote-logical.tentative.https.html
sxg-referrer-remote-physical-same-logical.tentative.https.html
sxg-referrer-same-physical-remote-logical.tentative.https.html
sxg-referrer-same-physical-same-logical.tentative.https.html
sxg-utf8-inner-url.tentative.html
sxg-variants-match.tentative.html
sxg-variants-mismatch.tentative.html
sxg-version1b2.tentative.html

This directory contains tests for the b2 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/...