aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script_task.rs
diff options
context:
space:
mode:
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(),