aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r--components/script/script_task.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs
index 6d9b2bee301..92a55c62ada 100644
--- a/components/script/script_task.rs
+++ b/components/script/script_task.rs
@@ -1648,6 +1648,10 @@ impl ScriptTask {
// send the final url to the layout task.
let LayoutChan(ref chan) = incomplete.layout_chan;
chan.send(layout_interface::Msg::SetFinalUrl(final_url.clone())).unwrap();
+
+ // update the pipeline url
+ let ConstellationChan(ref chan) = self.constellation_chan;
+ chan.send(ConstellationMsg::SetFinalUrl(incomplete.pipeline_id, final_url.clone())).unwrap();
}
debug!("ScriptTask: loading {} on page {:?}", incomplete.url.serialize(), incomplete.pipeline_id);