Closed Bug 1536193 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 15839 - Add wpt test for service worker registration from signed exchange

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 15839 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/15839
Details from upstream follow.

Tsuyoshi Horo <horo@chromium.org> wrote:

Add wpt test for service worker registration from signed exchange

Bug: 939237
Change-Id: I956f1b1bc0b66f249b337b0c190c7cd5fcd96eb2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1519951
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#640558}

PR 15839 applied with additional changes from upstream: ba4199a373672ac3e1981ef7a6351269f9d9c78c, d3db00fbae03004d90b6d10f1c9dbcdd0219185a, 4c1c9c9a0607c8c654c0af34f491d61ebc67c339, b2ffdb6329c634bd3e2e118ed628aad6b12afcee, 75913b3b43e4cfe4676ab99c795c7c7882962b54
Ran 54 tests and 88 subtests
OK     : 49[linux32-debug,linux64-debug], 35[linux32-opt,linux64-opt]
PASS   : 5
FAIL   : 59[linux32-debug,linux64-debug], 45[linux32-opt,linux64-opt]
TIMEOUT: 10[linux32-debug,linux64-debug], 38[linux32-opt,linux64-opt]
NOTRUN : 19

New tests that have failures or other problems:
/signed-exchange/check-cert-request.tentative.html
    Verify that certificate request has correct parameters.: FAIL
/signed-exchange/fallback-to-another-sxg.tentative.html
    Fallback redirect to another SignedHTTPExchange: FAIL
/signed-exchange/nested-sxg.tentative.html
    Nested SignedHTTPExchange: FAIL
/signed-exchange/reporting/sxg-reporting-navigation-cert_fetch_error-downgraded.tentative.html
    SXG reporting test of sxg.failed downgraded from sxg.cert_fetch_error for navigation.: FAIL
/signed-exchange/reporting/sxg-reporting-navigation-cert_fetch_error.tentative.html
    SXG reporting test of sxg.cert_fetch_error for navigation.: FAIL
/signed-exchange/reporting/sxg-reporting-navigation-cert_parse_error-downgraded.tentative.html
    SXG reporting test of sxg.failed downgraded from sxg.cert_parse_error for navigation.: FAIL
/signed-exchange/reporting/sxg-reporting-navigation-cert_parse_error.tentative.html
    SXG reporting test of sxg.cert_parse_error for navigation.: FAIL
/signed-exchange/reporting/sxg-reporting-navigation-cert_verification_error-downgraded.tentative.html
    SXG reporting test of sxg.failed downgraded from sxg.cert_verification_error for navigation.: FAIL
/signed-exchange/reporting/sxg-reporting-navigation-cert_verification_error.tentative.html
    SXG reporting test of sxg.cert_verification_error for navigation.: FAIL
/signed-exchange/reporting/sxg-reporting-navigation-failed-zero-success-fraction.tentative.html
    SXG error report must be downgraded when the cert URL is different from the reporting origin. And succeeded normal NEL report should not be sent  when success fraction is zero.: FAIL
/signed-exchange/reporting/sxg-reporting-navigation-invalid_integrity_header.tentative.html
    SXG reporting test of sxg.invalid_integrity_header for navigation.: FAIL
/signed-exchange/reporting/sxg-reporting-navigation-mi_error.tentative.html: TIMEOUT[linux32-opt,linux64-opt]
    SXG reporting test of sxg.mi_error for navigation.: FAIL[linux32-debug,linux64-debug], TIMEOUT[linux32-opt,linux64-opt]
/signed-exchange/reporting/sxg-reporting-navigation-ok.tentative.html
    SXG success report must be sent for navigation.: FAIL
/signed-exchange/reporting/sxg-reporting-navigation-parse_error.tentative.html: TIMEOUT[linux32-opt,linux64-opt]
    SXG reporting test of sxg.parse_error for navigation.: FAIL[linux32-debug,linux64-debug], TIMEOUT[linux32-opt,linux64-opt]
/signed-exchange/reporting/sxg-reporting-navigation-signature_verification_error-downgraded.tentative.html
    SXG reporting test of sxg.failed downgraded from sxg.signature_verification_error for navigation.: FAIL
/signed-exchange/reporting/sxg-reporting-navigation-signature_verification_error.tentative.html
    SXG reporting test of sxg.signature_verification_error for navigation.: FAIL
/signed-exchange/reporting/sxg-reporting-prefetch-cert_fetch_error-downgraded.tentative.html: TIMEOUT[linux32-opt,linux64-opt]
    SXG reporting test of sxg.failed downgraded from sxg.cert_fetch_error for prefetch.: FAIL[linux32-debug,linux64-debug], TIMEOUT[linux32-opt,linux64-opt]
/signed-exchange/reporting/sxg-reporting-prefetch-cert_fetch_error.tentative.html: TIMEOUT[linux32-opt,linux64-opt]
    SXG reporting test of sxg.cert_fetch_error for prefetch.: FAIL[linux32-debug,linux64-debug], TIMEOUT[linux32-opt,linux64-opt]
/signed-exchange/reporting/sxg-reporting-prefetch-cert_parse_error-downgraded.tentative.html: TIMEOUT[linux32-opt,linux64-opt]
    SXG reporting test of sxg.failed downgraded from sxg.cert_parse_error for prefetch.: FAIL[linux32-debug,linux64-debug], TIMEOUT[linux32-opt,linux64-opt]
/signed-exchange/reporting/sxg-reporting-prefetch-cert_parse_error.tentative.html: TIMEOUT[linux32-opt,linux64-opt]
    SXG reporting test of sxg.cert_parse_error for prefetch.: FAIL[linux32-debug,linux64-debug], TIMEOUT[linux32-opt,linux64-opt]
/signed-exchange/reporting/sxg-reporting-prefetch-cert_verification_error-downgraded.tentative.html: TIMEOUT[linux32-opt,linux64-opt]
    SXG reporting test of sxg.failed downgraded from sxg.cert_verification_error for prefetch.: FAIL[linux32-debug,linux64-debug], TIMEOUT[linux32-opt,linux64-opt]
/signed-exchange/reporting/sxg-reporting-prefetch-cert_verification_error.tentative.html: TIMEOUT[linux32-opt,linux64-opt]
    SXG reporting test of sxg.cert_verification_error for prefetch.: FAIL[linux32-debug,linux64-debug], TIMEOUT[linux32-opt,linux64-opt]
/signed-exchange/reporting/sxg-reporting-prefetch-failed-zero-success-feaction.tentative.html
    SXG error report must be downgraded when the cert URL is different from the reporting origin. And succeeded normal NEL report should not be sent  when success fraction is zero.: FAIL
/signed-exchange/reporting/sxg-reporting-prefetch-invalid_integrity_header.tentative.html: TIMEOUT[linux32-opt,linux64-opt]
    SXG reporting test of sxg.invalid_integrity_header for prefetch.: FAIL[linux32-debug,linux64-debug], TIMEOUT[linux32-opt,linux64-opt]
/signed-exchange/reporting/sxg-reporting-prefetch-mi_error.tentative.html: TIMEOUT[linux32-opt,linux64-opt]
    SXG reporting test of sxg.mi_error for prefetch.: FAIL[linux32-debug,linux64-debug], TIMEOUT[linux32-opt,linux64-opt]
/signed-exchange/reporting/sxg-reporting-prefetch-ok.tentative.html: TIMEOUT[linux32-opt,linux64-opt]
    SXG success report must be sent for prefetching.: FAIL[linux32-debug,linux64-debug], TIMEOUT[linux32-opt,linux64-opt]
/signed-exchange/reporting/sxg-reporting-prefetch-parse_error.tentative.html: TIMEOUT[linux32-opt,linux64-opt]
    SXG reporting test of sxg.parse_error for prefetch.: FAIL[linux32-debug,linux64-debug], TIMEOUT[linux32-opt,linux64-opt]
/signed-exchange/reporting/sxg-reporting-prefetch-signature_verification_error-downgraded.tentative.html: TIMEOUT[linux32-opt,linux64-opt]
    SXG reporting test of sxg.failed downgraded from sxg.signature_verification_error for prefetch.: FAIL[linux32-debug,linux64-debug], TIMEOUT[linux32-opt,linux64-opt]
/signed-exchange/reporting/sxg-reporting-prefetch-signature_verification_error.tentative.html: TIMEOUT[linux32-opt,linux64-opt]
    SXG reporting test of sxg.signature_verification_error for prefetch.: FAIL[linux32-debug,linux64-debug], TIMEOUT[linux32-opt,linux64-opt]
/signed-exchange/service-workers/sxg-sw-register-after-fallback.tentative.https.html
    Service worker registration after fallback: FAIL
/signed-exchange/service-workers/sxg-sw-register.tentative.https.html
    Service worker registration from signed exchange: FAIL
/signed-exchange/sxg-fallback-with-fragment.tentative.html
    Fallback redirect of SignedHTTPExchange should preserve URL fragment: FAIL
/signed-exchange/sxg-hsts.tentative.html
    Loading SignedHTTPExchange with an uncached header Strict-Transport-Security must fail and fallback redirect.: FAIL
/signed-exchange/sxg-invalid-validity-url.tentative.html
    Loading SignedHTTPExchange which validity URL is different origin from request URL must fail: FAIL
/signed-exchange/sxg-location-fragment.tentative.html
    Navigating to a Signed Exchange should preserve URL fragment: FAIL
/signed-exchange/sxg-location.tentative.html
    Location of SignedHTTPExchange: FAIL
/signed-exchange/sxg-navigation-timing.tentative.html
    Navigation timing of SignedHTTPExchange: FAIL
/signed-exchange/sxg-non-secure-origin.tentative.html
    Loading SignedHTTPExchange from non secure origin must fail: FAIL
/signed-exchange/sxg-noncacheable.tentative.html
    Loading SignedHTTPExchange with non-cacheable response must fail: FAIL
/signed-exchange/sxg-prefetch-merkle-integrity-error.tentative.html
    Prefetching SignedHTTPExchange with payload integrity error should fail: FAIL
/signed-exchange/sxg-referrer-policy-header.tentative.https.html: TIMEOUT
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg?pipe=header(Referrer-Policy,no-referrer)","expectedReferrer":""}: FAIL
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg?pipe=header(Referrer-Policy,no-referrer-when-downgrade)","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-policy-header.tentative.https.html"}: FAIL
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg?pipe=header(Referrer-Policy,origin)","expectedReferrer":"https://web-platform.test:8443/"}: FAIL
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg?pipe=header(Referrer-Policy,same-origin)","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-policy-header.tentative.https.html"}: TIMEOUT
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg?pipe=header(Referrer-Policy,strict-origin)","expectedReferrer":"https://web-platform.test:8443/"}: NOTRUN
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg?pipe=header(Referrer-Policy,strict-origin-when-cross-origin)","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-policy-header.tentative.https.html"}: NOTRUN
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg?pipe=header(Referrer-Policy,unsafe-url)","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-policy-header.tentative.https.html"}: NOTRUN
/signed-exchange/sxg-referrer-remote-physical-remote-logical.tentative.https.html: TIMEOUT
    Referrer of SignedHTTPExchange test : {"origin":"https://www1.web-platform.test:8443","sxg":"sxg-referrer-remote-origin.sxg","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-remote-physical-remote-logical.tentative.https.html"}: FAIL
    Referrer of SignedHTTPExchange test : {"origin":"https://www1.web-platform.test:8443","sxg":"sxg-referrer-remote-origin.sxg","referrerPolicy":"no-referrer","expectedReferrer":""}: FAIL
    Referrer of SignedHTTPExchange test : {"origin":"https://www1.web-platform.test:8443","sxg":"sxg-referrer-remote-origin.sxg","referrerPolicy":"no-referrer-when-downgrade","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-remote-physical-remote-logical.tentative.https.html"}: FAIL
    Referrer of SignedHTTPExchange test : {"origin":"https://www1.web-platform.test:8443","sxg":"sxg-referrer-remote-origin.sxg","referrerPolicy":"origin","expectedReferrer":"https://web-platform.test:8443/"}: TIMEOUT
    Referrer of SignedHTTPExchange test : {"origin":"https://www1.web-platform.test:8443","sxg":"sxg-referrer-remote-origin.sxg","referrerPolicy":"same-origin","expectedReferrer":""}: NOTRUN
    Referrer of SignedHTTPExchange test : {"origin":"https://www1.web-platform.test:8443","sxg":"sxg-referrer-remote-origin.sxg","referrerPolicy":"strict-origin","expectedReferrer":"https://web-platform.test:8443/"}: NOTRUN
    Referrer of SignedHTTPExchange test : {"origin":"https://www1.web-platform.test:8443","sxg":"sxg-referrer-remote-origin.sxg","referrerPolicy":"strict-origin-when-cross-origin","expectedReferrer":"https://web-platform.test:8443/"}: NOTRUN
    Referrer of SignedHTTPExchange test : {"origin":"https://www1.web-platform.test:8443","sxg":"sxg-referrer-remote-origin.sxg","referrerPolicy":"unsafe-url","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-remote-physical-remote-logical.tentative.https.html"}: NOTRUN
/signed-exchange/sxg-referrer-remote-physical-same-logical.tentative.https.html: TIMEOUT
    Referrer of SignedHTTPExchange test : {"origin":"https://www1.web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-remote-physical-same-logical.tentative.https.html"}: FAIL
    Referrer of SignedHTTPExchange test : {"origin":"https://www1.web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg","referrerPolicy":"no-referrer","expectedReferrer":""}: FAIL
    Referrer of SignedHTTPExchange test : {"origin":"https://www1.web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg","referrerPolicy":"no-referrer-when-downgrade","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-remote-physical-same-logical.tentative.https.html"}: FAIL
    Referrer of SignedHTTPExchange test : {"origin":"https://www1.web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg","referrerPolicy":"origin","expectedReferrer":"https://web-platform.test:8443/"}: TIMEOUT
    Referrer of SignedHTTPExchange test : {"origin":"https://www1.web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg","referrerPolicy":"same-origin","expectedReferrer":""}: NOTRUN
    Referrer of SignedHTTPExchange test : {"origin":"https://www1.web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg","referrerPolicy":"strict-origin","expectedReferrer":"https://web-platform.test:8443/"}: NOTRUN
    Referrer of SignedHTTPExchange test : {"origin":"https://www1.web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg","referrerPolicy":"strict-origin-when-cross-origin","expectedReferrer":"https://web-platform.test:8443/"}: NOTRUN
    Referrer of SignedHTTPExchange test : {"origin":"https://www1.web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg","referrerPolicy":"unsafe-url","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-remote-physical-same-logical.tentative.https.html"}: NOTRUN
/signed-exchange/sxg-referrer-same-physical-remote-logical.tentative.https.html: TIMEOUT
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-remote-origin.sxg","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-same-physical-remote-logical.tentative.https.html"}: FAIL
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-remote-origin.sxg","referrerPolicy":"no-referrer","expectedReferrer":""}: FAIL
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-remote-origin.sxg","referrerPolicy":"no-referrer-when-downgrade","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-same-physical-remote-logical.tentative.https.html"}: FAIL
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-remote-origin.sxg","referrerPolicy":"origin","expectedReferrer":"https://web-platform.test:8443/"}: TIMEOUT
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-remote-origin.sxg","referrerPolicy":"same-origin","expectedReferrer":""}: NOTRUN
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-remote-origin.sxg","referrerPolicy":"strict-origin","expectedReferrer":"https://web-platform.test:8443/"}: NOTRUN
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-remote-origin.sxg","referrerPolicy":"strict-origin-when-cross-origin","expectedReferrer":"https://web-platform.test:8443/"}: NOTRUN
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-remote-origin.sxg","referrerPolicy":"unsafe-url","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-same-physical-remote-logical.tentative.https.html"}: NOTRUN
/signed-exchange/sxg-referrer-same-physical-same-logical.tentative.https.html: TIMEOUT
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-same-physical-same-logical.tentative.https.html"}: FAIL
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg","referrerPolicy":"no-referrer","expectedReferrer":""}: FAIL
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg","referrerPolicy":"no-referrer-when-downgrade","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-same-physical-same-logical.tentative.https.html"}: FAIL
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg","referrerPolicy":"origin","expectedReferrer":"https://web-platform.test:8443/"}: TIMEOUT
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg","referrerPolicy":"same-origin","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-same-physical-same-logical.tentative.https.html"}: NOTRUN
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg","referrerPolicy":"strict-origin","expectedReferrer":"https://web-platform.test:8443/"}: NOTRUN
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg","referrerPolicy":"strict-origin-when-cross-origin","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-same-physical-same-logical.tentative.https.html"}: NOTRUN
    Referrer of SignedHTTPExchange test : {"origin":"https://web-platform.test:8443","sxg":"sxg-referrer-same-origin.sxg","referrerPolicy":"unsafe-url","expectedReferrer":"https://web-platform.test:8443/signed-exchange/sxg-referrer-same-physical-same-logical.tentative.https.html"}: NOTRUN
/signed-exchange/sxg-utf8-inner-url.tentative.html
    SignedHTTPExchange with UTF-8 inner URL: FAIL
/signed-exchange/sxg-variants-match.tentative.html
    SignedHTTPExchange should be loaded if Variants/Variant-Key match the request: FAIL
/signed-exchange/sxg-variants-mismatch.tentative.html
    SignedHTTPExchange should fallback if Variants/Variant-Key don't match the request: FAIL
/signed-exchange/sxg-version1b2.tentative.html
    Loading SignedHTTPExchange of unsupported version must fail and fallback redirect.: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b41a6dad896a
[wpt PR 15839] - Add wpt test for service worker registration from signed exchange, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/f8a2f1deb5d4
[wpt PR 15839] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.