mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
script: Stop copying the document URL.
This commit is contained in:
parent
4d1be2f56c
commit
5dce5f0c97
8 changed files with 19 additions and 16 deletions
|
@ -187,7 +187,8 @@ impl HTMLFormElement {
|
|||
}
|
||||
// TODO: Resolve the url relative to the submitter element
|
||||
// Step 10-15
|
||||
let action_components = UrlParser::new().base_url(&base).parse(&action).unwrap_or(base);
|
||||
let action_components =
|
||||
UrlParser::new().base_url(base).parse(&action).unwrap_or((*base).clone());
|
||||
let _action = action_components.serialize();
|
||||
let scheme = action_components.scheme.clone();
|
||||
let enctype = submitter.enctype();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue