Bug 1875451 [wpt PR 44092] - Add source cache but fallback to the network test, a...
commit331fabc3924a69bed1f78115a5973108f9df06a8
authorBlink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Thu, 25 Jan 2024 09:40:10 +0000 (25 09:40 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 26 Jan 2024 04:26:16 +0000 (26 04:26 +0000)
tree904ac812a1f7c13a2f0d901eeef0d755c0a0cf9d
parent3e11dbf7644fdf85aa339fc94dd232f6b82a5fe2
Bug 1875451 [wpt PR 44092] - Add source cache but fallback to the network test, a=testonly

Automatic update from web-platform-tests
Add source cache but fallback to the network test (#44092)

This CL adds the test to cover the case when the request matches the
router rule having "cache" source, but fallback to the network because
the corresponding cache entry wasn't there.

Bug: 1519727
Change-Id: I1e4748e3647c5a171d47275676375280d429d7f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5215527
Commit-Queue: Shunya Shishido <sisidovski@chromium.org>
Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1249973}

Co-authored-by: sisidovski <sisidovski@chromium.org>
--

wpt-commits: 89cff6a99291719842e719c82d1968a8b64aa28e
wpt-pr: 44092
testing/web-platform/tests/service-workers/service-worker/tentative/static-router/resources/router-rules.js
testing/web-platform/tests/service-workers/service-worker/tentative/static-router/static-router-main-resource.https.html