mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove the url from the InputUrl variant.
This url is the pre-redirect url, which is not particularly meaningful, and it is used only in a panic message.
This commit is contained in:
parent
e76c3386ce
commit
0fc65d4088
2 changed files with 7 additions and 7 deletions
|
@ -748,7 +748,7 @@ impl ScriptTask {
|
|||
// Wait for the LoadResponse so that the parser knows the final URL.
|
||||
let (input_chan, input_port) = channel();
|
||||
self.resource_task.send(Load(NetLoadData {
|
||||
url: url.clone(),
|
||||
url: url,
|
||||
method: load_data.method,
|
||||
headers: load_data.headers,
|
||||
data: load_data.data,
|
||||
|
@ -773,7 +773,7 @@ impl ScriptTask {
|
|||
*page.mut_url() = Some((base_url.clone(), true));
|
||||
}
|
||||
|
||||
(InputUrl(url.clone(), load_response), base_url)
|
||||
(InputUrl(load_response), base_url)
|
||||
} else {
|
||||
let evalstr = load_data.url.non_relative_scheme_data().unwrap();
|
||||
let jsval = window.evaluate_js_with_result(evalstr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue