aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script_task.rs
diff options
context:
space:
mode:
authorbors-servo <release+servo@mozilla.com>2014-01-30 08:58:40 -0800
committerbors-servo <release+servo@mozilla.com>2014-01-30 08:58:40 -0800
commit572959c3e6d233f470f7851b470bf3f73f8d4191 (patch)
tree0a359956cd39b13f1831d9d8785ee222f3d495aa /src/components/script/script_task.rs
parent74562b43f3f4ee529cae33e00fa7ebbc98011462 (diff)
parent43416ef91f03378f7b86ecee98aeea359cb9807c (diff)
downloadservo-572959c3e6d233f470f7851b470bf3f73f8d4191.tar.gz
servo-572959c3e6d233f470f7851b470bf3f73f8d4191.zip
auto merge of #1583 : brunoabinader/servo/document-url, r=Ms2ger
Specs: http://dom.spec.whatwg.org/#dom-document-url http://dom.spec.whatwg.org/#dom-document-documenturi This is a sub-task for #1428.
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r--src/components/script/script_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs
index b226f05916b..02ffdc49f75 100644
--- a/src/components/script/script_task.rs
+++ b/src/components/script/script_task.rs
@@ -690,7 +690,7 @@ impl ScriptTask {
// Parse HTML.
//
// Note: We can parse the next document in parallel with any previous documents.
- let document = HTMLDocument::new(window);
+ let document = HTMLDocument::new(window, Some(url.clone()));
let html_parsing_result = hubbub_html_parser::parse_html(cx.ptr,
document,
url.clone(),