diff options
Diffstat (limited to 'components/script/dom/htmlformelement.rs')
-rw-r--r-- | components/script/dom/htmlformelement.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs index 8069cafe932..dda93487caf 100644 --- a/components/script/dom/htmlformelement.rs +++ b/components/script/dom/htmlformelement.rs @@ -209,7 +209,8 @@ impl HTMLFormElement { load_data.data = Some(parsed_data.into_bytes()); }, // https://html.spec.whatwg.org/multipage/#submit-get-action - ("ftp", _) | ("javascript", _) | ("data", FormMethod::FormGet) => (), + ("file", _) | ("about", _) | ("data", FormMethod::FormGet) | + ("ftp", _) | ("javascript", _) => (), _ => return // Unimplemented (data and mailto) } |