Closed Bug 1793224 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 36073 - Populate `deliveryType` with the value "cache".

Categories

(Core :: DOM: Performance APIs, task, P4)

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

William Liu <liuwilliam@chromium.org> wrote:

Populate deliveryType with the value "cache".

Per https://github.com/w3c/resource-timing/issues/332, deliveryType will
have value "cache" if the resource's cache state is either kLocal or
kValidate; else deliveryType will return an empty string.

The WPT will remain tentative until the spec is updated.

Bug: 1358591
Change-Id: Ibdf2668569dc1b91bd66b8c11c0f28820057b364
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3913675
Commit-Queue: William Liu \<liuwilliam@chromium.org>
Reviewed-by: Jeremy Roman \<jbroman@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1053792}

Component: web-platform-tests → DOM: Performance
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]

CI Results

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

Total 14 tests and 1 subtests

Status Summary

Firefox

OK : 13[Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview] 14[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-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt, GitHub]
PASS : 11
FAIL : 24[Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview] 25[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-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt, GitHub]
TIMEOUT: 1

Chrome

OK : 14
PASS : 27
FAIL : 9

Safari

OK : 14
PASS : 4
FAIL : 32

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /resource-timing/delivery-type.tentative.any.worker.html [wpt.fyi]
    • PerformanceResourceTiming deliveryType test, same origin.: FAIL (Chrome: FAIL, Safari: FAIL)
    • PerformanceResourceTiming deliveryType test, cross origin, TAO passes.: FAIL (Chrome: FAIL, Safari: FAIL)
    • PerformanceResourceTiming deliveryType test, cross origin, TAO fails.: FAIL (Chrome: PASS, Safari: FAIL)
  • /resource-timing/delivery-type.tentative.any.serviceworker.html [wpt.fyi]
    • PerformanceResourceTiming deliveryType test, same origin.: FAIL (Chrome: FAIL, Safari: FAIL)
    • PerformanceResourceTiming deliveryType test, cross origin, TAO passes.: FAIL (Chrome: FAIL, Safari: FAIL)
    • PerformanceResourceTiming deliveryType test, cross origin, TAO fails.: FAIL (Chrome: FAIL, Safari: FAIL)
  • /resource-timing/delivery-type.tentative.any.html [wpt.fyi]
    • PerformanceResourceTiming deliveryType test, same origin.: FAIL (Chrome: FAIL, Safari: FAIL)
    • PerformanceResourceTiming deliveryType test, cross origin, TAO passes.: FAIL (Chrome: FAIL, Safari: FAIL)
    • PerformanceResourceTiming deliveryType test, cross origin, TAO fails.: FAIL (Chrome: PASS, Safari: FAIL)
  • /resource-timing/delivery-type.tentative.any.sharedworker.html [wpt.fyi]
    • PerformanceResourceTiming deliveryType test, same origin.: FAIL (Chrome: FAIL, Safari: FAIL)
    • PerformanceResourceTiming deliveryType test, cross origin, TAO passes.: FAIL (Chrome: FAIL, Safari: FAIL)
    • PerformanceResourceTiming deliveryType test, cross origin, TAO fails.: FAIL (Chrome: PASS, Safari: FAIL)
  • /resource-timing/sizes-cache.any.html [wpt.fyi]
    • PerformanceResourceTiming sizes caching test: FAIL (Chrome: PASS, Safari: FAIL)
  • /resource-timing/sizes-cache.any.worker.html [wpt.fyi]
    • PerformanceResourceTiming sizes caching test: FAIL (Chrome: PASS, Safari: FAIL)
  • /resource-timing/sizes-cache.any.sharedworker.html [wpt.fyi]
    • PerformanceResourceTiming sizes caching test: FAIL (Chrome: PASS, Safari: FAIL)
  • /resource-timing/sizes-cache.any.serviceworker.html [wpt.fyi]
    • PerformanceResourceTiming sizes caching test: FAIL (Chrome: PASS, Safari: FAIL)
  • /resource-timing/sizes-redirect-img.html [wpt.fyi]
    • PerformanceResourceTiming sizes redirect image - direct URL: FAIL (Chrome: PASS, Safari: FAIL)
    • PerformanceResourceTiming sizes redirect image - same origin redirect: FAIL (Chrome: PASS, Safari: FAIL)
    • PerformanceResourceTiming sizes redirect image - cross origin redirect: FAIL (Chrome: PASS, Safari: FAIL)
    • PerformanceResourceTiming sizes redirect image - cross origin to same origin redirect: FAIL (Chrome: PASS, Safari: FAIL)
    • PerformanceResourceTiming sizes redirect image - same origin to remote origin to same origin redirect: FAIL (Chrome: PASS, Safari: FAIL)
  • /resource-timing/sizes-redirect.any.worker.html [wpt.fyi]
    • PerformanceResourceTiming sizes Fetch with redirect test: FAIL (Chrome: PASS, Safari: FAIL)
  • /resource-timing/sizes-redirect.any.serviceworker.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-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt, GitHub], TIMEOUT [Gecko-android-em-7.0-x86_64-qr-debug-isolated-process-geckoview] (Chrome: OK, Safari: OK)
    • PerformanceResourceTiming sizes Fetch with redirect test: FAIL (Chrome: PASS, Safari: FAIL)
  • /resource-timing/sizes-redirect.any.sharedworker.html [wpt.fyi]
    • PerformanceResourceTiming sizes Fetch with redirect test: FAIL (Chrome: PASS, Safari: FAIL)
  • /resource-timing/sizes-redirect.any.html [wpt.fyi]
    • PerformanceResourceTiming sizes Fetch with redirect test: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f5cf352f82fd [wpt PR 36073] - Populate `deliveryType` with the value "cache"., a=testonly https://hg.mozilla.org/integration/autoland/rev/cfc868bbffec [wpt PR 36073] - Update wpt metadata, a=testonly
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.