mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Add planned navigation to submit as entity body (fixes #9829)
This commit is contained in:
parent
cfde40e225
commit
16361086d9
1 changed files with 1 additions and 0 deletions
|
@ -406,6 +406,7 @@ impl HTMLFormElement {
|
|||
("http", FormMethod::FormPost) | ("https", FormMethod::FormPost) => {
|
||||
load_data.method = Method::Post;
|
||||
load_data.data = Some(parsed_data.into_bytes());
|
||||
self.plan_to_navigate(load_data, &win);
|
||||
}
|
||||
// https://html.spec.whatwg.org/multipage/#submit-get-action
|
||||
("file", _) | ("about", _) | ("data", FormMethod::FormGet) |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue