mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Ensure we get the post-redirect url
This commit is contained in:
parent
2a701cc339
commit
f44470ef52
6 changed files with 14 additions and 7 deletions
|
@ -914,10 +914,6 @@ impl<LTF: LayoutTaskFactory, STF: ScriptTaskFactory> Constellation<LTF, STF> {
|
|||
WebDriverCommandMsg::LoadUrl(pipeline_id, load_data, reply) => {
|
||||
self.load_url_for_webdriver(pipeline_id, load_data, reply);
|
||||
},
|
||||
WebDriverCommandMsg::GetUrl(pipeline_id, reply) => {
|
||||
let pipeline = self.pipeline(pipeline_id);
|
||||
reply.send(pipeline.url.clone()).unwrap();
|
||||
},
|
||||
WebDriverCommandMsg::Refresh(pipeline_id, reply) => {
|
||||
let load_data = {
|
||||
let pipeline = self.pipeline(pipeline_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue