[wpt-sync] Sync PR 62746 - ServiceWorker: Propagate TAO check result via FetchAPIResponse
Categories
(Core :: DOM: Service Workers, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
67.30 KB,
text/plain
|
Details |
Sync web-platform-tests PR 62746 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62746
Details from upstream follow.
Yoshisto Yanagisawa <yyanagisawa@chromium.org> wrote:
ServiceWorker: Propagate TAO check result via FetchAPIResponse
When a ServiceWorker fetches a resource that undergoes HTTP redirects,
the TAO (Timing-Allow-Origin) check across the redirect chain is
evaluated during the network fetch in the Service Worker context.Previously, this timing allow check result was not preserved in
FetchAPIResponse. Consequently, downstream ServiceWorker resource
loaders (ServiceWorkerSubresourceLoader and
ServiceWorkerMainResourceLoader) could only evaluate the
Timing-Allow-Origin header of the final response without accounting for
whether the initial or intermediate redirects passed the TAO check.This CL adds a timing_allow_passed field to blink.mojom.FetchAPIResponse
and propagates the check result from FetchResponseData to ensure
accurate Timing-Allow-Origin handling consistent with the Fetch
specification.Bug: 550666278
Change-Id: I4fe2f49ed2eb23371820281c8f5831bbbc6c9683
TAG=agy
CONV=31d53e00-4937-4ac8-9798-3aa965f6e95e
Reviewed-on: https://chromium-review.googlesource.com/8294879
WPT-Export-Revision: d9efe76659e9abffdc8406acd0dd63a5c4afc5e5
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=93488
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 279 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 242[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-opt] 243[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 1429[Gecko-android-em-14-x86_64-opt-geckoview] 1430[Gecko-android-em-14-x86_64-lite-opt-geckoview] 1431[Gecko-android-em-14-x86_64-debug-geckoview] 1455[Gecko-windows11-32-25h2-debug] 1456[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug] 1482[Gecko-windows11-32-25h2-opt] 1484[Gecko-windows11-64-25h2-opt]
FAIL : 1[GitHub] 159[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview] 160[Gecko-android-em-14-x86_64-opt-geckoview] 163[Gecko-linux2404-64-debug] 164[Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug] 170[Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt]
TIMEOUT: 2
ERROR : 1
Chrome
OK : 1
FAIL : 1
Safari
OK : 1
FAIL : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /service-workers/service-worker/client-url-creation-url.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/clients-matchall-frozen.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/fetch-event-respond-with-readable-stream.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/fetch-request-resources.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/navigation-preload/broken-chunked-encoding.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/navigation-preload/chunked-encoding.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/navigation-preload/content-encoding.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/navigation-preload/empty-preload-response-body.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/navigation-preload/get-state.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/navigation-preload/navigationPreload.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/navigation-preload/redirect.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/navigation-preload/request-headers.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/navigation-preload/resource-timing.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/navigation-preload/samesite-cookies.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/navigation-preload/samesite-iframe.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/performance-timeline.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/static-router-cross-origin-navigation.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/static-router-fetch-event.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/static-router-invalid-rules.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/static-router-main-resource.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/static-router-multiple-router-registrations.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/static-router-mutiple-conditions.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/static-router-no-fetch-handler.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/static-router-race-network-and-fetch-handler.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/static-router-request-destination.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/static-router-request-method.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/static-router-subresource.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/tentative/static-router/static-router-resource-timing.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/unregister-immediately-before-installed.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/unregister-immediately-during-extendable-events.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/unregister-immediately.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/update-import-scripts.https.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],SKIP[Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt]- update() should find an update in an imported script but update() should result in failure due to missing the other imported script.:
FAIL
- update() should find an update in an imported script but update() should result in failure due to missing the other imported script.:
- /service-workers/service-worker/windowclient-ancestorOrigins.sub.https.html [wpt.fyi]:
SKIP - /service-workers/service-worker/Service-Worker-Allowed-header.https.html [wpt.fyi]
- Service-Worker-Allowed is cross-origin to script, registering on a normally allowed scope:
FAIL - Service-Worker-Allowed is cross-origin to script, registering on a normally disallowed scope:
FAIL
- Service-Worker-Allowed is cross-origin to script, registering on a normally allowed scope:
- /service-workers/service-worker/add-routes.https.html [wpt.fyi]
- addRoutes() will not be executed outside of installing:
FAIL
- addRoutes() will not be executed outside of installing:
- /service-workers/service-worker/claim-with-redirect.https.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-linux2404-64-debug] - /service-workers/service-worker/claim-worker-fetch.https.html [wpt.fyi]
- fetch() in blob URL Worker should be intercepted after the client is claimed.:
FAIL - fetch() in nested blob URL Worker created from a blob URL Worker should be intercepted after the client is claimed.:
FAIL - fetch() in nested blob URL Worker created from a Worker should be intercepted after the client is claimed.:
FAIL
- fetch() in blob URL Worker should be intercepted after the client is claimed.:
- /service-workers/service-worker/client-navigate.https.html [wpt.fyi]
- Navigating to mixed-content iframe should reject with TypeError:
FAIL
- Navigating to mixed-content iframe should reject with TypeError:
- /service-workers/service-worker/controlled-dedicatedworker-postMessage.https.html [wpt.fyi]
- Verify dedicated worker gets messages if setting event listener early:
FAIL - Verify dedicated worker does not get all messages if not setting event listener early:
FAIL
- Verify dedicated worker gets messages if setting event listener early:
- /service-workers/service-worker/controller-on-reload.https.html [wpt.fyi]
- controller is set upon reload after registration:
FAIL
- controller is set upon reload after registration:
- /service-workers/service-worker/credentials.https.html [wpt.fyi]
- Module with an imported statement should not have credentials:
FAIL - Script with service worker served as modules should not have credentials:
FAIL
- Module with an imported statement should not have credentials:
- /service-workers/service-worker/fetch-audio-tainting.https.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],TIMEOUT[Gecko-windows11-32-25h2-opt]- Verify CORS XHR of fetch() in a Service Worker:
PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],TIMEOUT[Gecko-windows11-32-25h2-opt]
- Verify CORS XHR of fetch() in a Service Worker:
- /service-workers/service-worker/fetch-canvas-tainting-image-cache.https.html [wpt.fyi]
- url "https://web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?PNGIMAGE&cache=true&mode=cors&credentials=same-origin&url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FPNGIMAGE%26cache%3Dtrue%26ACAOrigin%3Dhttps%3A%2F%2Fweb-platform.test%3A8443" with crossOrigin "" should be NOT_TAINTED:
FAIL - url "https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?PNGIMAGE&cache=true&mode=cors&credentials=same-origin&url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FPNGIMAGE%26cache%3Dtrue%26ACAOrigin%3Dhttps%3A%2F%2Fweb-platform.test%3A8443" with crossOrigin "" should be NOT_TAINTED:
FAIL
- url "https://web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?PNGIMAGE&cache=true&mode=cors&credentials=same-origin&url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FPNGIMAGE%26cache%3Dtrue%26ACAOrigin%3Dhttps%3A%2F%2Fweb-platform.test%3A8443" with crossOrigin "" should be NOT_TAINTED:
- /service-workers/service-worker/fetch-canvas-tainting-image.https.html [wpt.fyi]
- url "https://web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?PNGIMAGE&mode=cors&credentials=same-origin&url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FPNGIMAGE%26ACAOrigin%3Dhttps%3A%2F%2Fweb-platform.test%3A8443" with crossOrigin "" should be NOT_TAINTED:
FAIL - url "https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?PNGIMAGE&mode=cors&credentials=same-origin&url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FPNGIMAGE%26ACAOrigin%3Dhttps%3A%2F%2Fweb-platform.test%3A8443" with crossOrigin "" should be NOT_TAINTED:
FAIL
- url "https://web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?PNGIMAGE&mode=cors&credentials=same-origin&url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FPNGIMAGE%26ACAOrigin%3Dhttps%3A%2F%2Fweb-platform.test%3A8443" with crossOrigin "" should be NOT_TAINTED:
- /service-workers/service-worker/fetch-canvas-tainting-video-cache.https.html [wpt.fyi]
- url "https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&cache=true&ignore" with crossOrigin "" should be TAINTED:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - url "https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&cache=true&Auth&ignore" with crossOrigin "" should be TAINTED:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - url "https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&cache=true&mode=same-origin&url=https%3A%2F%2Fweb-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FVIDEO%26cache%3Dtrue" with crossOrigin "" should be NOT_TAINTED:
FAIL[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - url "https://web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&cache=true&mode=no-cors&url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FVIDEO%26cache%3Dtrue" with crossOrigin "" should be TAINTED:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - url "https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&cache=true&mode=no-cors&url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FVIDEO%26cache%3Dtrue" with crossOrigin "" should be TAINTED:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - url "https://web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&cache=true&mode=cors&credentials=same-origin&url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FVIDEO%26cache%3Dtrue%26ACAOrigin%3Dhttps%3A%2F%2Fweb-platform.test%3A8443" with crossOrigin "" should be NOT_TAINTED:
FAIL[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - url "https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&cache=true&mode=cors&url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FVIDEO%26cache%3Dtrue%26ACAOrigin%3Dhttps%3A%2F%2Fweb-platform.test%3A8443" with crossOrigin "" should be LOAD_ERROR:
FAIL - url "https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&cache=true&mode=cors&credentials=same-origin&url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FVIDEO%26cache%3Dtrue%26ACAOrigin%3Dhttps%3A%2F%2Fweb-platform.test%3A8443" with crossOrigin "" should be NOT_TAINTED:
FAIL[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview]
- url "https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&cache=true&ignore" with crossOrigin "" should be TAINTED:
- /service-workers/service-worker/fetch-canvas-tainting-video-with-range-request.https.html [wpt.fyi]
- range responses from single origin with both opaque and non-opaque responses:
FAIL
- range responses from single origin with both opaque and non-opaque responses:
- /service-workers/service-worker/fetch-canvas-tainting-video.https.html [wpt.fyi]
- url "https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&ignore" with crossOrigin "" should be TAINTED:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - url "https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&Auth&ignore" with crossOrigin "" should be TAINTED:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - url "https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&mode=same-origin&url=https%3A%2F%2Fweb-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FVIDEO" with crossOrigin "" should be NOT_TAINTED:
FAIL[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - url "https://web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&mode=no-cors&url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FVIDEO" with crossOrigin "" should be TAINTED:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - url "https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&mode=no-cors&url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FVIDEO" with crossOrigin "" should be TAINTED:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - url "https://web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&mode=cors&credentials=same-origin&url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FVIDEO%26ACAOrigin%3Dhttps%3A%2F%2Fweb-platform.test%3A8443" with crossOrigin "" should be NOT_TAINTED:
FAIL[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - url "https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&mode=cors&url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FVIDEO%26ACAOrigin%3Dhttps%3A%2F%2Fweb-platform.test%3A8443" with crossOrigin "" should be LOAD_ERROR:
FAIL - url "https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&mode=cors&credentials=same-origin&url=https%3A%2F%2Fwww1.web-platform.test%3A8443%2Fservice-workers%2Fservice-worker%2Fresources%2Ffetch-access-control.py%3FVIDEO%26ACAOrigin%3Dhttps%3A%2F%2Fweb-platform.test%3A8443" with crossOrigin "" should be NOT_TAINTED:
FAIL[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview]
- url "https://www1.web-platform.test:8443/service-workers/service-worker/resources/fetch-access-control.py?VIDEO&ignore" with crossOrigin "" should be TAINTED:
- /service-workers/service-worker/fetch-csp.https.html [wpt.fyi]
- Verify CSP control of fetch() in a Service Worker:
FAIL
- Verify CSP control of fetch() in a Service Worker:
- /service-workers/service-worker/fetch-error.https.html [wpt.fyi]
- Make sure a load that makes progress does not time out:
FAIL
- Make sure a load that makes progress does not time out:
- /service-workers/service-worker/fetch-event-referrer-policy.https.html [wpt.fyi]
- Service Worker responds to fetch event with the referrer policy:
FAIL
- Service Worker responds to fetch event with the referrer policy:
- /service-workers/service-worker/fetch-event.https.h2.html [wpt.fyi]
- The streaming request body is readable in the service worker.:
FAIL - When the streaming request body is used, network fallback fails.:
FAIL - Running clone() in the service worker does not prevent network fallback, and the service worker can read the request body via the clone.:
FAIL - Cloning the request after leaving the fetch event unhandled throws because the request body was canceled.:
FAIL
- The streaming request body is readable in the service worker.:
- /service-workers/service-worker/fetch-event.https.html [wpt.fyi]
- FetchEvent#body is a ReadableStream:
FAIL - Service Worker responds to fetch event with the correct keepalive value:
FAIL - FetchEvent#request.isReloadNavigation is true (location.reload()):
FAIL - FetchEvent#request.isReloadNavigation is true (history.go(0)):
FAIL - FetchEvent#request.isReloadNavigation is true (POST + location.reload()):
FAIL - FetchEvent#request.isReloadNavigation is true (with history traversal):
FAIL - FetchEvent#request.isHistoryNavigation is true (with history.go(-1)):
FAIL - FetchEvent#request.isHistoryNavigation is true (with history.go(1)):
FAIL - FetchEvent#request.isHistoryNavigation is false (with history.go(0)):
FAIL - FetchEvent#request.isHistoryNavigation is false (with location.reload):
FAIL - FetchEvent#request.isHistoryNavigation is true (with history.go(-2)):
FAIL - FetchEvent#request.isHistoryNavigation is true (with history.go(2)):
FAIL - FetchEvent#request.isHistoryNavigation is true (POST + history.go(-1)):
FAIL - XHR upload progress events for response coming from SW:
FAIL
- FetchEvent#body is a ReadableStream:
- /service-workers/service-worker/fetch-request-body-cancel.https.html [wpt.fyi]
- Service worker cancelling event.request.body should cancel the page's upload stream:
FAIL
- Service worker cancelling event.request.body should cancel the page's upload stream:
- /service-workers/service-worker/fetch-request-css-cross-origin.https.html [wpt.fyi]
- Same-origin policy for access to CSS resources fetched via service worker:
FAIL
- Same-origin policy for access to CSS resources fetched via service worker:
- /service-workers/service-worker/getregistration.https.html [wpt.fyi]
- Register then Unregister then getRegistration:
FAIL - Register then Unregister then getRegistration in controlled iframe:
FAIL
- Register then Unregister then getRegistration:
- /service-workers/service-worker/global-serviceworker.https.any.serviceworker.html [wpt.fyi]
- First run:
FAIL - Can post message to self during startup:
FAIL - During install:
FAIL - During activate:
FAIL
- First run:
- /service-workers/service-worker/import-scripts-data-url.https.html [wpt.fyi]
- importScripts() supports data URLs:
FAIL
- importScripts() supports data URLs:
- /service-workers/service-worker/installing.https.html [wpt.fyi]
- installing is set:
FAIL
- installing is set:
- /service-workers/service-worker/local-url-inherit-controller.https.html [wpt.fyi]
- Same-origin blob URL sharedworker should inherit service worker controller.:
FAIL - Same-origin blob URL sharedworker should intercept fetch().:
FAIL
- Same-origin blob URL sharedworker should inherit service worker controller.:
- /service-workers/service-worker/multipart-image.https.html [wpt.fyi]
- same-origin multipart image via SW should be readable:
FAIL - cross-origin multipart image via SW with approved CORS should be readable:
FAIL - cross-origin multipart image with no-cors via SW should not be readable:
FAIL
- same-origin multipart image via SW should be readable:
- /service-workers/service-worker/navigate-window.https.html [wpt.fyi]
- Clients.matchAll() should not show an old window after it navigates.:
FAIL
- Clients.matchAll() should not show an old window after it navigates.:
- /service-workers/service-worker/navigation-headers.https.html [wpt.fyi]
- POST Navigation, same-site with passthrough service worker sets correct origin and referer headers.:
FAIL - POST Navigation, cross-site with passthrough service worker sets correct origin and referer headers.:
FAIL - POST Navigation, same-origin with same-site redirect and passthrough service worker sets correct origin and referer headers.:
FAIL - POST Navigation, same-origin with cross-site redirect and passthrough service worker sets correct origin and referer headers.:
FAIL - POST Navigation, same-origin with cross-site redirect, same-origin redirect, and passthrough service worker sets correct origin and referer headers.:
FAIL - GET Navigation, same-origin with passthrough service worker sets correct sec-fetch headers.:
FAIL - POST Navigation, same-origin with passthrough service worker sets correct sec-fetch headers.:
FAIL - GET Navigation, same-site with passthrough service worker sets correct sec-fetch headers.:
FAIL - POST Navigation, same-site with passthrough service worker sets correct sec-fetch headers.:
FAIL - GET Navigation, same-site with navpreload service worker sets correct sec-fetch headers.:
FAIL - GET Navigation, cross-site with passthrough service worker sets correct sec-fetch headers.:
FAIL - POST Navigation, cross-site with passthrough service worker sets correct sec-fetch headers.:
FAIL - GET Navigation, cross-site with navpreload service worker sets correct sec-fetch headers.:
FAIL - GET Navigation, same-origin with same-site redirect and passthrough service worker sets correct sec-fetch headers.:
FAIL - GET Navigation, same-origin with same-site redirect and navpreload service worker sets correct sec-fetch headers.:
FAIL - GET Navigation, same-origin with cross-site redirect and passthrough service worker sets correct sec-fetch headers.:
FAIL - GET Navigation, same-origin with cross-site redirect and navpreload service worker sets correct sec-fetch headers.:
FAIL - GET Navigation, same-origin with cross-site redirect, same-origin redirect, and passthrough service worker sets correct sec-fetch headers.:
FAIL - GET Navigation, same-origin with cross-site redirect, same-origin redirect, and navpreload service worker sets correct sec-fetch headers.:
FAIL
- POST Navigation, same-site with passthrough service worker sets correct origin and referer headers.:
- /service-workers/service-worker/navigation-redirect-resolution.https.html [wpt.fyi]
- test relative opaqueredirect:
FAIL - test relative opaqueredirect with CacheStorage:
FAIL - test relative opaqueredirect with clone:
FAIL
- test relative opaqueredirect:
- /service-workers/service-worker/navigation-redirect.https.html?client [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug]- SW-fallbacked redirect to same-origin out-scope.:
FAIL - SW-generated redirect to same-origin out-scope.:
FAIL - SW-generated redirect to same-origin out-scope with a hash fragment.:
FAIL - SW-generated redirect to same-origin out-scope with different hash fragments.:
FAIL - SW-fetched redirect to same-origin out-scope.:
FAIL - Redirect to same-origin out-scope with opaque redirect response.:
FAIL - Redirect to same-origin out-scope with opaque redirect response which is passed through Cache.:
FAIL
- SW-fallbacked redirect to same-origin out-scope.:
- /service-workers/service-worker/navigation-timing-extended.https.html [wpt.fyi]
- Service worker controlled navigation timing:
FAIL
- Service worker controlled navigation timing:
- /service-workers/service-worker/navigation-timing-sizes.https.html [wpt.fyi]
- Body sizes in a regular pass-through:
FAIL - Body sizes in a pass-through with non html content:
FAIL - Body sizes in a regular pass-through with gzip:
FAIL
- Body sizes in a regular pass-through:
- /service-workers/service-worker/navigation-timing.https.html [wpt.fyi]
- Service worker controlled navigation timing:
FAIL - Service worker controlled navigation timing network fallback:
FAIL
- Service worker controlled navigation timing:
- /service-workers/service-worker/next-hop-protocol.https.html [wpt.fyi]
- nextHopProtocol reports H2 correctly when routed via a service worker.:
FAIL
- nextHopProtocol reports H2 correctly when routed via a service worker.:
- /service-workers/service-worker/opaque-script.https.html [wpt.fyi]
- Verify small cross-origin cache_storage scripts are opaque.:
FAIL - Verify large cross-origin cache_storage scripts are opaque.:
FAIL
- Verify small cross-origin cache_storage scripts are opaque.:
- /service-workers/service-worker/partitioned-cookies.tentative.https.html [wpt.fyi]
- Service Worker: Partitioned Cookies:
FAIL
- Service Worker: Partitioned Cookies:
- /service-workers/service-worker/partitioned-matchAll.tentative.https.html [wpt.fyi]
- ServiceWorker's matchAll() is partitioned:
FAIL
- ServiceWorker's matchAll() is partitioned:
- /service-workers/service-worker/redirected-response.https.html [wpt.fyi]
- mode: "follow", generated relative redirect response:
FAIL
- mode: "follow", generated relative redirect response:
- /service-workers/service-worker/referrer-toplevel-script-fetch.https.html [wpt.fyi]
- Referrer of the top-level script fetch should be the document URL:
FAIL - Referrer of the module script fetch should be the document URL:
FAIL
- Referrer of the top-level script fetch should be the document URL:
- /service-workers/service-worker/register-closed-window.https.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - /service-workers/service-worker/registration-schedule-job.https.html [wpt.fyi]
- different updateViaCache:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[Gecko-linux2404-64-debug] - different type:
FAIL
- different updateViaCache:
- /service-workers/service-worker/registration-updateviacache.https.html [wpt.fyi]
- updateViaCache is not updated if register() rejects:
FAIL
- updateViaCache is not updated if register() rejects:
- /service-workers/service-worker/resource-timing-bodySize.https.html [wpt.fyi]
- Response body size: constructed, cors, TAO pass:
FAIL - Response body size: forward, cors, TAO pass:
FAIL - Response body size: stream, cors, TAO pass:
FAIL - Response body size: passthrough, cors, TAO pass:
FAIL - Response body size: constructed, cors, TAO fail:
FAIL - Response body size: forward, cors, TAO fail:
FAIL - Response body size: stream, cors, TAO fail:
FAIL - Response body size: passthrough, cors, TAO fail:
FAIL - Response body size: constructed, no-cors, TAO pass:
FAIL - Response body size: forward, no-cors, TAO pass:
FAIL - Response body size: stream, no-cors, TAO pass:
FAIL - Response body size: constructed, no-cors, TAO fail:
FAIL - Response body size: forward, no-cors, TAO fail:
FAIL - Response body size: stream, no-cors, TAO fail:
FAIL - Response body size: constructed, same-origin, TAO pass:
FAIL - Response body size: forward, same-origin, TAO pass:
FAIL - Response body size: stream, same-origin, TAO pass:
FAIL - Response body size: passthrough, same-origin, TAO pass:
FAIL - Response body size: constructed, same-origin, TAO fail:
FAIL - Response body size: forward, same-origin, TAO fail:
FAIL - Response body size: stream, same-origin, TAO fail:
FAIL - Response body size: passthrough, same-origin, TAO fail:
FAIL
- Response body size: constructed, cors, TAO pass:
- /service-workers/service-worker/resource-timing-cross-origin-server-timing.https.html [wpt.fyi]
- Timing allow check for subresource responses handled by Service Worker:
FAIL(Chrome:FAIL, Safari:FAIL)
- Timing allow check for subresource responses handled by Service Worker:
- /service-workers/service-worker/resource-timing-cross-origin.https.html [wpt.fyi]
- Test that timing allow check fails when service worker changes origin from same to cross origin (cors).:
FAIL - Test that timing allow check fails when service worker changes origin from same to cross origin (no-cors).:
FAIL
- Test that timing allow check fails when service worker changes origin from same to cross origin (cors).:
- /service-workers/service-worker/resource-timing-fetch-variants.https.html [wpt.fyi]
- Redirects done from within a service-worker should not be exposed to client ResourceTiming:
FAIL - Delay from within service-worker (after internal fetching) should be accessible through
responseStart:FAIL - Delay from within service-worker (before internal fetching) should be measured before responseStart in the client ResourceTiming entry:
FAIL
- Redirects done from within a service-worker should not be exposed to client ResourceTiming:
- /service-workers/service-worker/resource-timing.sub.https.html [wpt.fyi]
- Controlled resource loads:
FAIL
- Controlled resource loads:
- /service-workers/service-worker/same-site-cookies.https.html [wpt.fyi]:
OK[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview]- same-origin, nested set location with cross-site middle frame and no service worker:
FAIL - same-origin, nested set location with cross-site middle frame and fallback service worker:
FAIL - same-origin, nested set location with cross-site middle frame and passthrough service worker:
FAIL - same-origin, nested set location with cross-site middle frame and change-request service worker:
FAIL - same-origin, nested set location with cross-site middle frame and navpreload service worker:
FAIL - cross-site, form post with no service worker:
FAIL - cross-site, form post with fallback:
FAIL - cross-site, form post with passthrough:
FAIL - same-origin, form post with no service worker and cross-site redirect:
FAIL - same-origin, form post with fallback and cross-site redirect:
FAIL - same-origin, form post with passthrough and cross-site redirect:
FAIL - same-origin, form post with no service worker, cross-site redirect, and same-origin redirect:
FAIL - same-origin, form post with fallback, cross-site redirect, and same-origin redirect:
FAIL - same-origin, form post with passthrough, cross-site redirect, and same-origin redirect:
FAIL
- same-origin, nested set location with cross-site middle frame and no service worker:
- /service-workers/service-worker/sandboxed-iframe-navigator-serviceworker.https.html [wpt.fyi]
- Accessing navigator.serviceWorker in sandboxed iframe should throw.:
FAIL
- Accessing navigator.serviceWorker in sandboxed iframe should throw.:
- /service-workers/service-worker/skip-waiting-installed.https.html [wpt.fyi]
- Test skipWaiting when a installed worker is waiting:
FAIL[Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- Test skipWaiting when a installed worker is waiting:
- /service-workers/service-worker/soft-update-fetch-metadata.https.html [wpt.fyi]
- headers of a script imported by a classic script:
FAIL - headers of a script imported by a module script:
FAIL
- headers of a script imported by a classic script:
- /service-workers/service-worker/srcdoc-iframe.https.html [wpt.fyi]
- nested same origin sandboxed srcdoc frame should inherit controller:
FAIL
- nested same origin sandboxed srcdoc frame should inherit controller:
- /service-workers/service-worker/update-not-allowed.https.html [wpt.fyi]:
ERROR[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview] - /service-workers/service-worker/update-registration-with-type.https.html [wpt.fyi]
- Update the registration with a different script type (classic => module) and with a same main script. Expect evaluation failed.:
FAIL - Update the registration with a different script type (module => classic) and with a same main script. Expect evaluation failed.:
FAIL
- Update the registration with a different script type (classic => module) and with a same main script. Expect evaluation failed.:
- /service-workers/service-worker/update.https.html [wpt.fyi]
- update() should fail when a response for the main script is redirect.:
FAIL
- update() should fail when a response for the main script is redirect.:
- /service-workers/service-worker/waiting.https.html [wpt.fyi]
- waiting is set after installation:
FAIL
- waiting is set after installation:
- /service-workers/service-worker/windowclient-navigate.https.html [wpt.fyi]
- navigate on a top-level window client worker side:
FAIL
- navigate on a top-level window client worker side:
- /service-workers/service-worker/xhr-content-length.https.window.html [wpt.fyi]
- Synthetic response with two Content-Length headers value larger than response body length:
FAIL
- Synthetic response with two Content-Length headers value larger than response body length:
- /service-workers/service-worker/ServiceWorkerGlobalScope/error-message-event.https.html [wpt.fyi]
- Verify error event is received:
FAIL
- Verify error event is received:
- /service-workers/service-worker/ServiceWorkerGlobalScope/unregister.https.html [wpt.fyi]
- Unregister on script evaluation:
FAIL - Unregister on installing event:
FAIL - Unregister on activate event:
FAIL - Unregister controlling service worker:
FAIL
- Unregister on script evaluation:
- /service-workers/service-worker/tentative/fetch-event-download-fallback.https.html [wpt.fyi]
- Download FetchEvent without respondWith() falls back without navigating the page.:
FAIL
- Download FetchEvent without respondWith() falls back without navigating the page.:
- /service-workers/service-worker/tentative/fetch-event-download-out-of-scope.https.html [wpt.fyi]
- Download FetchEvent fires only for URLs within the SW registration scope.:
FAIL
- Download FetchEvent fires only for URLs within the SW registration scope.:
- /service-workers/service-worker/tentative/fetch-event-download-respond-with.https.html [wpt.fyi]
- event.respondWith() is accepted for a download FetchEvent.:
FAIL
- event.respondWith() is accepted for a download FetchEvent.:
- /service-workers/service-worker/tentative/fetch-event-download.https.html [wpt.fyi]
- FetchEvent fires for <a download> with destination "".:
FAIL
- FetchEvent fires for <a download> with destination "".:
(See attachment for full changes)
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0ba94309c2b4
https://hg.mozilla.org/mozilla-central/rev/0eada862ac59
Description
•