Files
tubestation/testing/web-platform/tests/interfaces/entries-api.idl
moz-wptsync-bot 401bb9e0dd Bug 1664225 - [wpt-sync] Update web-platform-tests to 55e3f8d27d6be17fa75bebe426c39cc51b3b26d4, a=testonly, r=karlcow
A bug in the wptsync caused us to miss some pushes during recent
updates. This commit copies the head of wpt at the specified revision
over and re-applies local patches that weren't in that revision. That
means we should be able to resume normal syncs after fixing the bug.

wpt-head: 55e3f8d27d6be17fa75bebe426c39cc51b3b26d4
wpt-type: landing

Differential Revision: https://phabricator.services.mozilla.com/D90823
2020-09-21 12:53:13 +00:00

72 lines
2.3 KiB
Plaintext

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: File and Directory Entries API (https://wicg.github.io/entries-api/)
partial interface File {
readonly attribute USVString webkitRelativePath;
};
partial interface HTMLInputElement {
attribute boolean webkitdirectory;
readonly attribute FrozenArray<FileSystemEntry> webkitEntries;
};
partial interface DataTransferItem {
FileSystemEntry? webkitGetAsEntry();
};
callback ErrorCallback = undefined (DOMException err);
[Exposed=Window]
interface FileSystemEntry {
readonly attribute boolean isFile;
readonly attribute boolean isDirectory;
readonly attribute USVString name;
readonly attribute USVString fullPath;
readonly attribute FileSystem filesystem;
undefined getParent(optional FileSystemEntryCallback successCallback,
optional ErrorCallback errorCallback);
};
[Exposed=Window]
interface FileSystemDirectoryEntry : FileSystemEntry {
FileSystemDirectoryReader createReader();
undefined getFile(optional USVString? path,
optional FileSystemFlags options = {},
optional FileSystemEntryCallback successCallback,
optional ErrorCallback errorCallback);
undefined getDirectory(optional USVString? path,
optional FileSystemFlags options = {},
optional FileSystemEntryCallback successCallback,
optional ErrorCallback errorCallback);
};
dictionary FileSystemFlags {
boolean create = false;
boolean exclusive = false;
};
callback FileSystemEntryCallback = undefined (FileSystemEntry entry);
[Exposed=Window]
interface FileSystemDirectoryReader {
undefined readEntries(FileSystemEntriesCallback successCallback,
optional ErrorCallback errorCallback);
};
callback FileSystemEntriesCallback = undefined (sequence<FileSystemEntry> entries);
[Exposed=Window]
interface FileSystemFileEntry : FileSystemEntry {
undefined file(FileCallback successCallback,
optional ErrorCallback errorCallback);
};
callback FileCallback = undefined (File file);
[Exposed=Window]
interface FileSystem {
readonly attribute USVString name;
readonly attribute FileSystemDirectoryEntry root;
};