mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
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.
This commit is contained in:
parent
ffab9fb44e
commit
636602a54e
5 changed files with 171 additions and 6 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue