mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:17:35 +00:00
LibWeb: Add an empty DataTransfer IDL implementation
This does not implement any of the IDL methods, but GitHub requires the interface exists to upload files via an <input type="file"> element. Their JS handles uploads via this element and via drag-and-drop in one function, and check if the uploaded file is `instanceof DataTransfer` to decide how to handle it.
This commit is contained in:
parent
7681772b9f
commit
c2ef506b4a
7 changed files with 84 additions and 0 deletions
|
@ -97,6 +97,7 @@ libweb_js_bindings(HTML/CloseEvent)
|
|||
libweb_js_bindings(HTML/CustomElements/CustomElementRegistry)
|
||||
libweb_js_bindings(HTML/DOMParser)
|
||||
libweb_js_bindings(HTML/DOMStringMap)
|
||||
libweb_js_bindings(HTML/DataTransfer)
|
||||
libweb_js_bindings(HTML/ErrorEvent)
|
||||
libweb_js_bindings(HTML/FormDataEvent)
|
||||
libweb_js_bindings(HTML/History)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue