aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlformelement.rs
diff options
context:
space:
mode:
authorKeith Yeung <kungfukeith11@gmail.com>2016-04-25 04:24:59 -0400
committerKeith Yeung <kungfukeith11@gmail.com>2016-04-30 21:42:57 -0400
commit16361086d97bc880451b92d17c4866e5524fa851 (patch)
tree0680dbd813fa3a3748f7a2ea386ea279e9b443a3 /components/script/dom/htmlformelement.rs
parentcfde40e22530211aa0853685b9d7bae75aa57f9e (diff)
downloadservo-16361086d97bc880451b92d17c4866e5524fa851.tar.gz
servo-16361086d97bc880451b92d17c4866e5524fa851.zip
Add planned navigation to submit as entity body (fixes #9829)
Diffstat (limited to 'components/script/dom/htmlformelement.rs')
-rw-r--r--components/script/dom/htmlformelement.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs
index cceb4160838..0e8b6174ab5 100644
--- a/components/script/dom/htmlformelement.rs
+++ b/components/script/dom/htmlformelement.rs
@@ -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) |