[wpt-sync] Sync PR 50363 - Raise for the race-network-and-fetch-handler source without handler
Categories
(Core :: DOM: Service Workers, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 50363 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50363
Details from upstream follow.
Yoshisato Yanagisawa <yyanagisawa@chromium.org> wrote:
Raise for the race-network-and-fetch-handler source without handler
This reflects the change in https://github.com/w3c/ServiceWorker/pull/1719.
Instead of silently fallback to network, let me makeaddRoutes()
raise
if the race-network-and-fetch-handler source is used without having a
fetch handler.Fixed: 391990601
Change-Id: Ic944e183286cd056235b0fe272c543533dfaa86f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6211317
Reviewed-by: Takashi Toyoshima \<toyoshim@chromium.org>
Commit-Queue: Yoshisato Yanagisawa \<yyanagisawa@chromium.org>
Reviewed-by: Shunya Shishido \<sisidovski@chromium.org>
Reviewed-by: Hidehiko Abe \<hidehiko@chromium.org>
Reviewed-by: Keita Suzuki \<suzukikeita@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1412763}
Assignee | ||
Updated•11 days ago
|
Assignee | ||
Comment 1•11 days ago
|
||
Assignee | ||
Comment 2•11 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 3 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 3
Chrome
OK
: 1
PASS
: 2
FAIL
: 1
Safari
OK
: 1
FAIL
: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /service-workers/service-worker/static-router-no-fetch-handler.https.html [wpt.fyi]
- The router rule is evaluated without fetch handlers in service worker:
FAIL
(Chrome:PASS
, Safari:FAIL
) - addRoutes should raise if the fetch-event source is used without onfetch:
FAIL
(Chrome:PASS
, Safari:FAIL
) - addRoutes should raise if the race-network-and-fetch-handler source is used without onfetch:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- The router rule is evaluated without fetch handlers in service worker:
Comment 4•9 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9ae5a8a8ad4e
https://hg.mozilla.org/mozilla-central/rev/ef6dc3cbf0f3
Description
•