From 36302388a32b60a5c41f05ee31eed52b1fd0e0d4 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sun, 18 Feb 2024 21:58:04 -0500 Subject: [PATCH] LibWeb: Allow submitting forms whose submission URL is a file:// URL In particular, this will allow us to test form submission on such URLs. --- Userland/Libraries/LibWeb/HTML/HTMLFormElement.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFormElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLFormElement.cpp index ac601371f0..8a8b9eb2d6 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFormElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLFormElement.cpp @@ -265,6 +265,8 @@ WebIDL::ExceptionOr HTMLFormElement::submit_form(JS::NonnullGCPtr HTMLFormElement::submit_form(JS::NonnullGCPtr