mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
LibWeb/HTML: Implement DataTransferItem.webkitGetAsEntry()
This commit is contained in:
parent
169163b002
commit
2e9aec984c
Notes:
github-actions[bot]
2024-08-24 12:54:04 +00:00
Author: https://github.com/jamierocks
Commit: 2e9aec984c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1172
Reviewed-by: https://github.com/trflynn89
5 changed files with 34 additions and 0 deletions
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue