Commit Graph

8 Commits

Author SHA1 Message Date
Timothy Flynn
39f991bb68 LibWeb: Implement the DataTransfer items attribute
(cherry picked from commit 1b703629548950882063495679b9307519271b92)
2024-11-01 22:04:14 -04:00
Timothy Flynn
4e820d36e2 LibWeb: Implement DataTransfer.prototype.getData()
This is used by Google Lens. It will always return the empty string when
dragging an image onto the Google Lens search field.

(cherry picked from commit 535f03b6cf664071e03b7f3c95116fa89c33122b)
2024-11-01 22:04:14 -04:00
Timothy Flynn
a3050819d2 LibWeb: Implement the DataTransfer files attribute
(cherry picked from commit 4bb9168712d6e706465ded9e1b6764a039651ea0)
2024-11-01 19:58:08 -04:00
Timothy Flynn
7085b7f127 LibWeb: Implement the DataTransfer types attribute
(cherry picked from commit 9f4e3c7e25bbc94a479a2a96cdbe85c47f634627)
2024-11-01 19:58:08 -04:00
Timothy Flynn
87d2766cd7 LibWeb: Implement the DataTransfer effect attributes
(cherry picked from commit 3674e037f38119e7b497b4a5c90707ff94cf44bb)
2024-11-01 19:58:08 -04:00
Tim Ledbetter
68a1a78a1a LibWeb: Use FIXME extended attribute where possible 2024-05-19 17:35:25 +02:00
Shannon Booth
4fe0cbcf85 LibWeb: Use 'FIXME' extended attribute where possible
This improves the debuggability of many live web pages :^)
2024-05-19 16:24:11 +02:00
Timothy Flynn
c2ef506b4a 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.
2024-03-14 10:10:33 +01:00