mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +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;
|
||||
}
|
||||
self.domcontentloaded_dispatched.set(true);
|
||||
assert!(self.ReadyState() != DocumentReadyState::Complete,
|
||||
"Complete before DOMContentLoaded?");
|
||||
assert_ne!(self.ReadyState(), DocumentReadyState::Complete,
|
||||
"Complete before DOMContentLoaded?");
|
||||
|
||||
update_with_current_time_ms(&self.dom_content_loaded_event_start);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue