diff options
-rw-r--r-- | components/script/dom/htmlformelement.rs | 1 |
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) | |