From 16361086d97bc880451b92d17c4866e5524fa851 Mon Sep 17 00:00:00 2001 From: Keith Yeung Date: Mon, 25 Apr 2016 04:24:59 -0400 Subject: [PATCH] Add planned navigation to submit as entity body (fixes #9829) --- components/script/dom/htmlformelement.rs | 1 + 1 file changed, 1 insertion(+) 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) |