/* * Copyright (c) 2023, Kenneth Myhra * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace Web::HTML { using HashMapWithVectorOfFormDataEntryValue = HashMap>; struct Entry { String name; Variant, String> value; }; WebIDL::ExceptionOr create_entry(JS::Realm& realm, String const& name, Variant, String> const& value, Optional const& filename = {}); WebIDL::ExceptionOr> construct_entry_list(JS::Realm&, HTMLFormElement&); }