Finish hooking up XML parser

added script integration with xml5ever

Updated test expectations

Removed timeout test expectation

Refactors

application/xhtml+xml is treated as HTML

Updated xml5ever

Updated Text Expectations
This commit is contained in:
Connor Brewster 2016-04-14 14:56:38 -06:00
parent 2729864af7
commit 3389c497c0
29 changed files with 393 additions and 96 deletions

View file

@ -128,6 +128,8 @@ impl ServoXMLParser {
if !pending_input.is_empty() {
let chunk = pending_input.remove(0);
self.tokenizer.borrow_mut().feed(chunk.into());
} else {
self.tokenizer.borrow_mut().run();
}
// Document parsing is blocked on an external resource.