mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Use specific negative assertion for DOM document
This commit is contained in:
parent
1f9ce9e5d7
commit
5475059df7
1 changed files with 2 additions and 2 deletions
|
@ -1831,8 +1831,8 @@ impl Document {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
self.domcontentloaded_dispatched.set(true);
|
self.domcontentloaded_dispatched.set(true);
|
||||||
assert!(self.ReadyState() != DocumentReadyState::Complete,
|
assert_ne!(self.ReadyState(), DocumentReadyState::Complete,
|
||||||
"Complete before DOMContentLoaded?");
|
"Complete before DOMContentLoaded?");
|
||||||
|
|
||||||
update_with_current_time_ms(&self.dom_content_loaded_event_start);
|
update_with_current_time_ms(&self.dom_content_loaded_event_start);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue