Auto merge of #13741 - servo:fetch-doc-unused, r=Manishearth

Remove some unused support for the legacy network stack in script.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13741)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-10-13 09:55:00 -05:00 committed by GitHub
commit 740464df8a
3 changed files with 4 additions and 43 deletions

View file

@ -1729,7 +1729,6 @@ impl ScriptThread {
});
let loader = DocumentLoader::new_with_threads(self.resource_threads.clone(),
Some(browsing_context.pipeline_id()),
Some(incomplete.url.clone()));
let is_html_document = match metadata.content_type {