Closed Bug 1875451 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44092 - Add source cache but fallback to the network test

Categories

(Core :: DOM: Service Workers, task, P4)

task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

sisidovski <sisidovski@chromium.org> wrote:

Add source cache but fallback to the network test

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/5215527
WPT-Export-Revision: 328be5a6d6eb1f3e94e5e8325817f6ccf1a58d89

PR 44092 applied with additional changes from upstream: 0418e5d3f5e72af1b88db0e4d09b2eef2c08b11e, 1e3e77f4e9656c03be52a4d406fe04fa79f55ef3, edd5eeed7488421117a4c47c514213065730cf09
Component: web-platform-tests → DOM: Service Workers
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 7 subtests

Status Summary

Firefox

OK : 1
FAIL: 7

Chrome

OK : 1
PASS: 2
FAIL: 5

Safari

OK : 1
FAIL: 7

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-main-resource.https.html [wpt.fyi]: OK [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt, GitHub], SKIP [Gecko-windows11-32-2009-qr-opt] (Chrome: OK, Safari: OK)
    • Main resource load matched with the condition: FAIL (Chrome: FAIL, Safari: FAIL)
    • Main resource load matched with the ignore case condition: FAIL (Chrome: FAIL, Safari: FAIL)
    • Main resource load matched without the ignore case condition: FAIL (Chrome: PASS, Safari: FAIL)
    • Main resource load not matched with the condition: FAIL (Chrome: PASS, Safari: FAIL)
    • Main reosurce load matched with the service worker having multiple rules: FAIL (Chrome: FAIL, Safari: FAIL)
    • Main resource load matched with the cache source: FAIL (Chrome: FAIL, Safari: FAIL)
    • Main resource fallback to the network when there is no cache entry: FAIL (Chrome: FAIL, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e25b412fe18b [wpt PR 44092] - Add source cache but fallback to the network test, a=testonly https://hg.mozilla.org/integration/autoland/rev/84bddea68db0 [wpt PR 44092] - Update wpt metadata, a=testonly
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.