LibWeb: Use DocumentLoadTimingInfo values in PerformanceTiming interface

This commit is contained in:
Tim Ledbetter 2025-01-06 10:26:55 +00:00 committed by Andreas Kling
commit e03fec2a15
Notes: github-actions[bot] 2025-01-11 10:12:48 +00:00
7 changed files with 481 additions and 7 deletions

View file

@ -0,0 +1,14 @@
Harness status: OK
Found 8 tests
7 Pass
1 Fail
Pass Measure of navigationStart to now should be positive value.
Pass Measure of navigationStart to loadEventEnd should be positive value.
Pass Measure of current mark to navigationStart should be negative value.
Fail loadTime plus loadEventEnd to a mark "a" should equal to navigationStart to "a".
Pass Second measure of current mark to navigationStart should be negative value.
Pass Measures of loadTime should have same duration.
Pass Measure from domComplete event to most recent mark "a" should have longer duration.
Pass Measure from most recent mark to navigationStart should have longer duration.