Closed Bug 2069320 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62423 - Avoid passing resource timing information for post-redirect errors

Categories

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

task

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Noam Rosenthal <nrosenthal@chromium.org> wrote:

Avoid passing resource timing information for post-redirect errors

In these cases "allow timing pass" could be true but the response is
"null" (https://fetch.spec.whatwg.org/#create-an-opaque-timing-info)

Added more cases to WPT

Bug: 40057919
Change-Id: I6aa11913dd1214a192adb62987baca1e49b4d94f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8345384
Commit-Queue: Noam Rosenthal \<nrosenthal@google.com>
Reviewed-by: Yoav Weiss (@Shopify) \<yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1691506}

Component: web-platform-tests → DOM: Performance APIs
Product: Testing → Core

CI Results

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

Total 168 tests and 1 subtests

Status Summary

Firefox

OK : 31[GitHub] 161[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-windows11-64-25h2-debug] 162[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 163[Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug] 164[Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt]
PASS : 509[GitHub] 937[Gecko-android-em-14-x86_64-debug-geckoview] 939[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 952[Gecko-windows11-64-25h2-debug] 958[Gecko-windows11-32-25h2-debug] 959[Gecko-linux2404-64-debug] 961[Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt]
FAIL : 41[GitHub] 210[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug] 211[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt]
TIMEOUT: 2
ERROR : 2
NOTRUN : 11

Chrome

OK : 32
PASS : 562

Safari

OK : 25
PASS : 61
FAIL : 364
TIMEOUT: 14
NOTRUN : 130

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

  • /resource-timing/buffer-full-add-after-full-event.html [wpt.fyi]: SKIP
  • /resource-timing/iframe-failed-commit.html [wpt.fyi]: SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], TIMEOUT [GitHub] (Chrome: OK, Safari: TIMEOUT)
  • /resource-timing/resource-timing-level1.sub.html [wpt.fyi]: OK [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt], SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
  • /resource-timing/resource_timing.worker.html [wpt.fyi]: OK [Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt], SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-64-25h2-debug]
  • /resource-timing/sizes-redirect-img.html [wpt.fyi]: OK [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt, GitHub], SKIP [Gecko-windows11-64-25h2-debug] (Chrome: OK, Safari: OK)
  • /resource-timing/workerStart-tao-protected.https.html [wpt.fyi]: OK [Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt, GitHub], SKIP [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug] (Chrome: OK, Safari: OK)
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.