Remove an argument to ServoParser::parse_html_script_input

Since the spec of document.open was updated, this argument became useless.
This commit is contained in:
Anthony Ramine 2018-12-08 15:45:51 +01:00
parent 1046ae58a1
commit d1d79bf947
2 changed files with 2 additions and 6 deletions

View file

@ -4340,7 +4340,7 @@ impl DocumentMethods for Document {
.clone();
*self.loader.borrow_mut() =
DocumentLoader::new_with_threads(resource_threads, Some(self.url()));
ServoParser::parse_html_script_input(self, self.url(), "text/html");
ServoParser::parse_html_script_input(self, self.url());
// Step 15
self.ready_state.set(DocumentReadyState::Loading);