From 43416ef91f03378f7b86ecee98aeea359cb9807c Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Wed, 29 Jan 2014 14:24:49 -0400 Subject: 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. --- src/components/script/script_task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/script/script_task.rs') 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(), -- cgit v1.2.3