mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:27:43 +00:00
LibWeb: Add get accessor to internal entry list of FormData
This commit is contained in:
parent
84722ae2ef
commit
5df4d66d91
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ public:
|
|||
WebIDL::ExceptionOr<void> set(String const& name, String const& value);
|
||||
WebIDL::ExceptionOr<void> set(String const& name, JS::NonnullGCPtr<FileAPI::Blob> const& blob_value, Optional<String> const& filename = {});
|
||||
|
||||
Vector<FormDataEntry> const& entry_list() const { return m_entry_list; }
|
||||
|
||||
using ForEachCallback = Function<JS::ThrowCompletionOr<void>(String const&, FormDataEntryValue const&)>;
|
||||
JS::ThrowCompletionOr<void> for_each(ForEachCallback);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue