From 2b332a2138f8e8181276087c70cd20b1b8b5bf14 Mon Sep 17 00:00:00 2001 From: Simon Martin Date: Mon, 2 Nov 2015 09:46:39 +0100 Subject: Issue #8113: Support file, about and data schemes as form action. --- components/script/dom/htmlformelement.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'components/script/dom/htmlformelement.rs') diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs index 6d37719a862..2bf414828b0 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) } -- cgit v1.2.3