Closed Bug 1875448 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44091 - Add the test to match the "cache" source rule

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 44091 into mozilla-central (this bug is closed when the sync is complete).

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

sisidovski <sisidovski@chromium.org> wrote:

Add the test to match the "cache" source rule

This CL adds the first test that matches the rule having "cache" source
to the main resource. Other patterns including subresources will be
followed in separate CLs.

Bug: 1519727
Change-Id: Ie1a1a048eb1c83085d18311a34215f853b7247c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5216065
Commit-Queue: Shunya Shishido \<sisidovski@chromium.org>
Reviewed-by: Minoru Chikamune \<chikamune@chromium.org>
Reviewed-by: Yoshisato Yanagisawa \<yyanagisawa@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1249279}

PR 44091 applied with additional changes from upstream: 0418e5d3f5e72af1b88db0e4d09b2eef2c08b11e, 1e3e77f4e9656c03be52a4d406fe04fa79f55ef3
Component: web-platform-tests → DOM: Service Workers
Product: Testing → Core

CI Results

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

Total 2 tests and 13 subtests

Status Summary

Firefox

OK : 1[Gecko-windows11-32-2009-qr-opt] 2[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]
FAIL: 13[Gecko-windows11-32-2009-qr-opt] 19[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]

Chrome

OK : 2
PASS: 5
FAIL: 14

Safari

OK : 2
FAIL: 19

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)
  • /service-workers/service-worker/tentative/static-router/static-router-subresource.https.html [wpt.fyi]
    • Subresource load not matched with URLPattern condition: FAIL (Chrome: PASS, Safari: FAIL)
    • Subresource load matched with URLPattern condition: FAIL (Chrome: FAIL, Safari: FAIL)
    • Subresource cross origin load matched with URLPattern condition via constructed object: FAIL (Chrome: FAIL, Safari: FAIL)
    • Subresource load matched with ignoreCase URLPattern condition: FAIL (Chrome: FAIL, Safari: FAIL)
    • Subresource load matched without ignoreCase URLPattern condition: FAIL (Chrome: PASS, Safari: FAIL)
    • Subresource load matched with URLPattern condition via URLPatternInit: FAIL (Chrome: FAIL, Safari: FAIL)
    • Subresource cross origin load not matched with URLPattern condition via URLPatternInit: FAIL (Chrome: FAIL, Safari: FAIL)
    • Subresource load matched with URLPattern condition via string: FAIL (Chrome: FAIL, Safari: FAIL)
    • Subresource cross origin load not matched with URLPattern condition via string: FAIL (Chrome: FAIL, Safari: FAIL)
    • Subresource load matched with RequestMode condition: FAIL (Chrome: FAIL, Safari: FAIL)
    • Subresource load matched with the nested or condition: FAIL (Chrome: FAIL, Safari: FAIL)
    • Subresource load matched with the next or condition: FAIL (Chrome: FAIL, Safari: FAIL)
    • Subresource load not matched with or condition: FAIL (Chrome: PASS, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e4e3b242c1c5 [wpt PR 44091] - Add the test to match the "cache" source rule, a=testonly https://hg.mozilla.org/integration/autoland/rev/b90e4a47cbe0 [wpt PR 44091] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.