LibWeb/HTML: Implement DataTransferItem.webkitGetAsEntry()

This commit is contained in:
Jamie Mansfield 2024-08-23 19:41:56 +01:00 committed by Andreas Kling
commit 2e9aec984c
Notes: github-actions[bot] 2024-08-24 12:54:04 +00:00
5 changed files with 34 additions and 0 deletions

View file

@ -1,3 +1,4 @@
#import <EntriesAPI/FileSystemEntry.idl>
#import <FileAPI/File.idl>
callback FunctionStringCallback = undefined (DOMString data);
@ -9,4 +10,7 @@ interface DataTransferItem {
readonly attribute DOMString type;
undefined getAsString(FunctionStringCallback? _callback);
File? getAsFile();
// https://wicg.github.io/entries-api/#dom-datatransferitem-webkitgetasentry
FileSystemEntry? webkitGetAsEntry();
};