mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Use specific assertion for DOM servoparser
This commit is contained in:
parent
0e6f446a61
commit
9a358014f9
1 changed files with 1 additions and 1 deletions
|
@ -872,7 +872,7 @@ impl TreeSink for Sink {
|
||||||
control.set_form_owner_from_parser(&form);
|
control.set_form_owner_from_parser(&form);
|
||||||
} else {
|
} else {
|
||||||
// TODO remove this code when keygen is implemented.
|
// TODO remove this code when keygen is implemented.
|
||||||
assert!(node.NodeName() == "KEYGEN", "Unknown form-associatable element");
|
assert_eq!(node.NodeName(), "KEYGEN", "Unknown form-associatable element");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue