LibWeb: Implement the DataTransfer types attribute

This commit is contained in:
Timothy Flynn 2024-08-17 14:23:13 -04:00 committed by Andreas Kling
commit 9f4e3c7e25
Notes: github-actions[bot] 2024-08-19 11:30:40 +00:00
5 changed files with 90 additions and 8 deletions

View file

@ -11,7 +11,7 @@ interface DataTransfer {
[FIXME] undefined setDragImage(Element image, long x, long y);
// old interface
[FIXME] readonly attribute FrozenArray<DOMString> types;
readonly attribute sequence<DOMString> types; // FIXME: This should be FrozenArray<DOMString>
[FIXME] DOMString getData(DOMString format);
[FIXME] undefined setData(DOMString format, DOMString data);
[FIXME] undefined clearData(optional DOMString format);