mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
LibWeb: When creating form action URL, only include value for the submit
that was used to submit the form
This commit is contained in:
committed by
Andreas Kling
parent
5c46741be8
commit
7f538ea7eb
Notes:
sideshowbarker
2024-07-19 06:57:42 +09:00
Author: https://github.com/shadowfacts Commit: https://github.com/SerenityOS/serenity/commit/7f538ea7ebb Pull-request: https://github.com/SerenityOS/serenity/pull/2107
@@ -27,6 +27,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/DOM/HTMLElement.h>
|
||||
#include <LibWeb/DOM/HTMLInputElement.h>
|
||||
|
||||
namespace Web {
|
||||
|
||||
@@ -38,7 +39,7 @@ public:
|
||||
String action() const { return attribute("action"); }
|
||||
String method() const { return attribute("method"); }
|
||||
|
||||
void submit();
|
||||
void submit(RefPtr<HTMLInputElement> submitter);
|
||||
};
|
||||
|
||||
template<>
|
||||
|
||||
Reference in New Issue
Block a user