mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Introduce abstraction over HTML and XML parsers for parser network listener.
This commit is contained in:
parent
a840a23990
commit
9d3b915cac
5 changed files with 328 additions and 33 deletions
|
@ -349,7 +349,7 @@ impl HTMLScriptElement {
|
|||
// TODO: make this suspension happen automatically.
|
||||
if was_parser_inserted {
|
||||
if let Some(parser) = doc.get_current_parser() {
|
||||
parser.suspend();
|
||||
parser.r().suspend();
|
||||
}
|
||||
}
|
||||
return NextParserState::Suspend;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue