Definition
File System Standard defines FileSystemHandle
[Exposed=(Window,Worker), SecureContext, Serializable]
interface FileSystemHandle {
readonly attribute FileSystemHandleKind kind;
readonly attribute USVString name;
Promise<boolean> isSameEntry(FileSystemHandle other);
};
This interface is extended in the following specifications:
- File System Access
[Exposed=(Window,Worker), SecureContext, Serializable] partial interface FileSystemHandle { Promise<PermissionState> queryPermission(optional FileSystemHandlePermissionDescriptor descriptor = {}); Promise<PermissionState> requestPermission(optional FileSystemHandlePermissionDescriptor descriptor = {}); };
Consolidated IDL (across mixin and partials)
[Exposed=(Window,Worker), SecureContext, Serializable]
interface FileSystemHandle {
readonly attribute FileSystemHandleKind kind;
readonly attribute USVString name;
Promise<boolean> isSameEntry(FileSystemHandle other);
Promise<PermissionState> queryPermission(optional FileSystemHandlePermissionDescriptor descriptor = {});
Promise<PermissionState> requestPermission(optional FileSystemHandlePermissionDescriptor descriptor = {});
};
Methods and attributes that return objects implementing FileSystemHandle
Referring IDL interfaces/dictionaries
Referring specifications
- File System Access refers to
FileSystemHandle
- Web App Launch Handler API refers to
FileSystemHandle