From 69473b6c9c76c1fdf2c57402fe97b31085df11ea Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Mon, 23 Sep 2013 11:37:24 -0700 Subject: [PATCH] Make some debug prints more useful --- src/components/script/html/hubbub_html_parser.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs index 0be9fa9c0e3..fce6ef9dbcb 100644 --- a/src/components/script/html/hubbub_html_parser.rs +++ b/src/components/script/html/hubbub_html_parser.rs @@ -523,7 +523,7 @@ pub fn parse_html(cx: *JSContext, } } - debug!("data = %?", data); + debug!("script data = %?", data); js_chan.send(JSTaskNewInlineScript(data.concat(), url.clone())); } } @@ -549,7 +549,7 @@ pub fn parse_html(cx: *JSContext, } } - debug!("data = %?", data); + debug!("style data = %?", data); let provenance = InlineProvenance(url_cell.take().unwrap(), data.concat()); css_chan3.send(CSSTaskNewFile(provenance)); }