mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add a topLevelDomComplete metric.
This commit is contained in:
parent
26feea3be5
commit
074447e501
7 changed files with 59 additions and 0 deletions
|
@ -86,6 +86,12 @@ impl PerformanceTimingMethods for PerformanceTiming {
|
|||
fn LoadEventEnd(&self) -> u64 {
|
||||
self.document.get_load_event_end()
|
||||
}
|
||||
|
||||
// check-tidy: no specs after this line
|
||||
// Servo-only timing for when top-level content (not iframes) is complete
|
||||
fn TopLevelDomComplete(&self) -> u64 {
|
||||
self.document.get_top_level_dom_complete()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue