mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Fix window.performance.now()
This commit is contained in:
parent
1bc2c8a639
commit
eec68faa41
2 changed files with 4 additions and 3 deletions
|
@ -394,7 +394,7 @@ impl Window {
|
|||
browser_context: DOMRefCell::new(None),
|
||||
performance: Default::default(),
|
||||
navigation_start: time::get_time().sec as u64,
|
||||
navigation_start_precise: time::precise_time_s(),
|
||||
navigation_start_precise: time::precise_time_ns() as f64,
|
||||
screen: Default::default(),
|
||||
session_storage: Default::default(),
|
||||
timers: TimerManager::new()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue