mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
LibWeb: Return wall time from PerformanceTiming interface
This matches the behavior of other browsers.
This commit is contained in:
parent
7488136a51
commit
05351dfe45
Notes:
github-actions[bot]
2025-01-27 13:54:29 +00:00
Author: https://github.com/tcl3
Commit: 05351dfe45
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3341
3 changed files with 52 additions and 18 deletions
|
@ -54,17 +54,17 @@ struct DocumentLoadTimingInfo {
|
|||
// https://html.spec.whatwg.org/multipage/dom.html#navigation-start-time
|
||||
double navigation_start_time { 0 };
|
||||
// https://html.spec.whatwg.org/multipage/dom.html#dom-interactive-time
|
||||
double dom_interactive_time { 0 };
|
||||
HighResolutionTime::DOMHighResTimeStamp dom_interactive_time { 0 };
|
||||
// https://html.spec.whatwg.org/multipage/dom.html#dom-content-loaded-event-start-time
|
||||
double dom_content_loaded_event_start_time { 0 };
|
||||
HighResolutionTime::DOMHighResTimeStamp dom_content_loaded_event_start_time { 0 };
|
||||
// https://html.spec.whatwg.org/multipage/dom.html#dom-content-loaded-event-end-time
|
||||
double dom_content_loaded_event_end_time { 0 };
|
||||
HighResolutionTime::DOMHighResTimeStamp dom_content_loaded_event_end_time { 0 };
|
||||
// https://html.spec.whatwg.org/multipage/dom.html#dom-complete-time
|
||||
double dom_complete_time { 0 };
|
||||
HighResolutionTime::DOMHighResTimeStamp dom_complete_time { 0 };
|
||||
// https://html.spec.whatwg.org/multipage/dom.html#load-event-start-time
|
||||
double load_event_start_time { 0 };
|
||||
HighResolutionTime::DOMHighResTimeStamp load_event_start_time { 0 };
|
||||
// https://html.spec.whatwg.org/multipage/dom.html#load-event-end-time
|
||||
double load_event_end_time { 0 };
|
||||
HighResolutionTime::DOMHighResTimeStamp load_event_end_time { 0 };
|
||||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/dom.html#document-unload-timing-info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue