mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
PerformanceResourceTiming calculate duration
This commit is contained in:
parent
4ff24af3d5
commit
d81c44335f
1 changed files with 1 additions and 2 deletions
|
@ -55,7 +55,6 @@ pub struct PerformanceResourceTiming {
|
|||
decoded_body_size: u64, //size in octets
|
||||
}
|
||||
|
||||
// TODO(#21255): duration
|
||||
// TODO(#21269): next_hop
|
||||
// TODO(#21264): worker_start
|
||||
// TODO(#21258): fetch_start
|
||||
|
@ -115,7 +114,7 @@ impl PerformanceResourceTiming {
|
|||
DOMString::from(url.into_string()),
|
||||
DOMString::from("resource"),
|
||||
resource_timing.start_time as f64,
|
||||
0.,
|
||||
resource_timing.response_end as f64 - resource_timing.start_time as f64,
|
||||
),
|
||||
initiator_type: initiator_type,
|
||||
next_hop: next_hop,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue