diff options
author | Andrew Kaster <akaster@serenityos.org> | 2022-10-03 23:39:53 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-10-04 22:05:14 +0200 |
commit | 636602a54e55945f7394805975a69dc40934331c (patch) | |
tree | 7c44e0bcf68c84175d18682cb722fbe4c56b13f7 /Meta | |
parent | ffab9fb44ed0cff0d895d0e21e52e53d85f742e5 (diff) | |
download | serenity-636602a54e55945f7394805975a69dc40934331c.zip |
LibWeb: Implement <input type=file> behavior
This includes punting on the actual file picker implementation all the
way out to the PageClient. It's likely that some of the real details
should be implemented somewhere closer, like the BrowsingContext or the
Page, but we'll get there.
For now, this allows https://copy.sh/v86 to load the emulation of the
preselected images all the way until it hits a call to
URL.createObjectURL.
Diffstat (limited to 'Meta')
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp index e17ebad6a7..bd4a0df2e1 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp @@ -30,6 +30,7 @@ static bool is_platform_object(Type const& type) "Document"sv, "DocumentType"sv, "EventTarget"sv, + "FileList"sv, "ImageData"sv, "MutationRecord"sv, "NamedNodeMap"sv, |