aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script_task.rs
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno.d@partner.samsung.com>2014-01-29 14:24:49 -0400
committerBruno de Oliveira Abinader <bruno.d@partner.samsung.com>2014-01-30 10:41:24 -0400
commit43416ef91f03378f7b86ecee98aeea359cb9807c (patch)
tree9ee15cce1b1f1a7c7fae7c32874ad47c12110be0 /src/components/script/script_task.rs
parent0777f211df28e45349a9294a71b81c17800310e7 (diff)
downloadservo-43416ef91f03378f7b86ecee98aeea359cb9807c.tar.gz
servo-43416ef91f03378f7b86ecee98aeea359cb9807c.zip
Implement document.URL & document.documentURI
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(),