Closed Bug 1877095 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44260 - Add WPT covering the case when e.addRoutes() is called in a imported sw

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

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

sisidovski <sisidovski@chromium.org> wrote:

Add WPT covering the case when e.addRoutes() is called in a imported sw

This CL ensures the case when e.addRoutes() is called in the service
worker, which is loaded via import by the main SW script.

This CL also moves existing tests having multiple rules to the same file
to split main-resource.https.html file into smaller files.

Bug: 1519727
Change-Id: Ide3585a1c5d937f4ae96ee22b6100d8df9887321
Reviewed-on: https://chromium-review.googlesource.com/5239833
WPT-Export-Revision: a74ca3d280f2aeaccc429751e0508a0cfa39d82d

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 3 tests and 14 subtests

Status Summary

Firefox

OK : 2[Gecko-windows11-32-2009-qr-opt, GitHub] 3[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]
FAIL : 16[Gecko-windows11-32-2009-qr-opt] 17[GitHub] 22[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]
TIMEOUT: 2
NOTRUN : 4

Chrome

OK : 3
PASS : 5
FAIL : 17

Safari

OK : 3
FAIL : 22

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

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], SKIP [Gecko-windows11-32-2009-qr-opt], TIMEOUT [GitHub] (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 [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], TIMEOUT [GitHub] (Chrome: FAIL, Safari: FAIL)
    • Main resource load matched without the ignore case condition: FAIL [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], NOTRUN [GitHub] (Chrome: PASS, Safari: FAIL)
    • Main resource load not matched with the condition: FAIL [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], NOTRUN [GitHub] (Chrome: PASS, Safari: FAIL)
    • Main resource load matched with the cache source: FAIL [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], NOTRUN [GitHub] (Chrome: FAIL, Safari: FAIL)
    • Main resource fallback to the network when there is no cache entry: FAIL [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], NOTRUN [GitHub] (Chrome: FAIL, Safari: FAIL)
  • /service-workers/service-worker/tentative/static-router/static-router-multiple-router-registrations.https.html [wpt.fyi]
    • Main reosurce load matched with the service worker having multiple rules: FAIL (Chrome: FAIL, Safari: FAIL)
    • Resource load matched with the rule registered in the imported service worker: 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)
    • Subresource load matched with the cache source rule: FAIL (Chrome: FAIL, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0171f759eba6 [wpt PR 44260] - Add WPT covering the case when addRoutes() is called in a imported sw, a=testonly https://hg.mozilla.org/integration/autoland/rev/869ac881c69e [wpt PR 44260] - 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.