Closed Bug 1728515 Opened 3 years ago Closed 2 years ago

[wpt-sync] Sync PR 30280 - [navigation-timing] test PerformanceNavigationTiming's duration and responseEnd properties before, during, and after the load event

Categories

(Core :: Performance, task, P4)

task

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Alex Christensen <achristensen@apple.com>' wrote:

[navigation-timing] test PerformanceNavigationTiming's duration and responseEnd properties before, during, and after the load event

This comes from https://bugs.webkit.org/show_bug.cgi?id=229751
Chrome and now WebKit agree that responseEnd and duration should be 0 before the load event
and they should be filled in as the information becomes available.

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

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL : 1

Chrome

OK : 1
PASS : 1

Safari

TIMEOUT: 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/navigation-timing/nav2_test_response_end_and_duration_before_during_and_after_load_event.html
Check that performance.getEntriesByType('navigation')[0].responseEnd has reasonable values before and after the load has finished: FAIL (Chrome: PASS, Safari: TIMEOUT)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/46ec6e191353
[wpt PR 30280] - [navigation-timing] test PerformanceNavigationTiming's duration and responseEnd properties before, during, and after the load event, a=testonly
https://hg.mozilla.org/integration/autoland/rev/1aefa5bbde46
[wpt PR 30280] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Regressions: 1743564
You need to log in before you can comment on or make changes to this bug.