aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/hubbub_html_parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r--src/components/script/html/hubbub_html_parser.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs
index ab8a8956314..2f5591464cf 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -481,6 +481,9 @@ pub fn parse_html(url: Url,
debug!("received data");
parser.parse_chunk(data);
}
+ Done(Err(*)) => {
+ fail!("Failed to load page URL %s", url.to_str());
+ }
Done(*) => {
break;
}