[wpt-sync] Sync PR 44188 - Raise if the fetch-event source is used without a fetch handler.
Categories
(Core :: DOM: Service Workers, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 44188 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/44188
Details from upstream follow.
Yoshisato Yanagisawa <yyanagisawa@chromium.org> wrote:
Raise if the fetch-event source is used without a fetch handler.
This is CL implements:
https://github.com/yoshisatoyanagisawa/ServiceWorker/pull/2Upon the PR, TypeError is thrown if the fetch-event source is used
without having a fetch handler in the service worker script.Bug: 1511459
Change-Id: I0197ab55a223b03c8e6ca8e46e9a16d461d9bc9c
Reviewed-on: https://chromium-review.googlesource.com/5233688
WPT-Export-Revision: ab713be3b3e1ee994ed5ffcbfc98a97ffb708933
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
Assignee | ||
Comment 4•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 2 subtests
Status Summary
Firefox
OK
: 2
FAIL
: 3
Chrome
OK
: 1
PASS
: 1
FAIL
: 1
TIMEOUT
: 2
Safari
OK
: 2
FAIL
: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /service-workers/service-worker/tentative/static-router/static-router-invalid-rules.https.html [wpt.fyi]
- addRoutes should raise for invalid request method.:
FAIL
(Chrome:TIMEOUT
, Safari:FAIL
)
- addRoutes should raise for invalid request method.:
- /service-workers/service-worker/tentative/static-router/static-router-no-fetch-handler.https.html [wpt.fyi]
- The router rule is evaluated without fetch handlers in service worker:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - addRoutes should raise if the fetch-event source is used without onfetch:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- The router rule is evaluated without fetch handlers in service worker:
Comment 6•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0fe35075279f
https://hg.mozilla.org/mozilla-central/rev/62c458e6a30a
Description
•