LibWeb: Implement the DataTransferItemList length attribute

This commit is contained in:
Timothy Flynn 2024-08-21 09:45:04 -04:00 committed by Andreas Kling
commit 843f8f04a5
Notes: github-actions[bot] 2024-08-22 12:22:32 +00:00
8 changed files with 31 additions and 5 deletions

View file

@ -4,7 +4,7 @@
// https://html.spec.whatwg.org/multipage/dnd.html#datatransferitemlist
[Exposed=Window]
interface DataTransferItemList {
[FIXME] readonly attribute unsigned long length;
readonly attribute unsigned long length;
[FIXME] getter DataTransferItem (unsigned long index);
DataTransferItem? add(DOMString data, DOMString type);
DataTransferItem? add(File data);