зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1659975 [wpt PR 25104] - Update interfaces/entries-api.idl, a=testonly
Automatic update from web-platform-tests Update interfaces/entries-api.idl (#25104) Source: https://github.com/tidoust/reffy-reports/blob/4cba804/ed/idl/entries-api.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/719138445 -- wpt-commits: b07784cad292e5e55e3e399462957aeecbeef277 wpt-pr: 25104
This commit is contained in:
Родитель
de7724c9c5
Коммит
63bc844da0
|
@ -16,7 +16,7 @@ partial interface DataTransferItem {
|
|||
FileSystemEntry? webkitGetAsEntry();
|
||||
};
|
||||
|
||||
callback ErrorCallback = void (DOMException err);
|
||||
callback ErrorCallback = undefined (DOMException err);
|
||||
|
||||
[Exposed=Window]
|
||||
interface FileSystemEntry {
|
||||
|
@ -26,18 +26,18 @@ interface FileSystemEntry {
|
|||
readonly attribute USVString fullPath;
|
||||
readonly attribute FileSystem filesystem;
|
||||
|
||||
void getParent(optional FileSystemEntryCallback successCallback,
|
||||
undefined getParent(optional FileSystemEntryCallback successCallback,
|
||||
optional ErrorCallback errorCallback);
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
interface FileSystemDirectoryEntry : FileSystemEntry {
|
||||
FileSystemDirectoryReader createReader();
|
||||
void getFile(optional USVString? path,
|
||||
undefined getFile(optional USVString? path,
|
||||
optional FileSystemFlags options = {},
|
||||
optional FileSystemEntryCallback successCallback,
|
||||
optional ErrorCallback errorCallback);
|
||||
void getDirectory(optional USVString? path,
|
||||
undefined getDirectory(optional USVString? path,
|
||||
optional FileSystemFlags options = {},
|
||||
optional FileSystemEntryCallback successCallback,
|
||||
optional ErrorCallback errorCallback);
|
||||
|
@ -48,21 +48,21 @@ dictionary FileSystemFlags {
|
|||
boolean exclusive = false;
|
||||
};
|
||||
|
||||
callback FileSystemEntryCallback = void (FileSystemEntry entry);
|
||||
callback FileSystemEntryCallback = undefined (FileSystemEntry entry);
|
||||
|
||||
[Exposed=Window]
|
||||
interface FileSystemDirectoryReader {
|
||||
void readEntries(FileSystemEntriesCallback successCallback,
|
||||
undefined readEntries(FileSystemEntriesCallback successCallback,
|
||||
optional ErrorCallback errorCallback);
|
||||
};
|
||||
callback FileSystemEntriesCallback = void (sequence<FileSystemEntry> entries);
|
||||
callback FileSystemEntriesCallback = undefined (sequence<FileSystemEntry> entries);
|
||||
|
||||
[Exposed=Window]
|
||||
interface FileSystemFileEntry : FileSystemEntry {
|
||||
void file(FileCallback successCallback,
|
||||
undefined file(FileCallback successCallback,
|
||||
optional ErrorCallback errorCallback);
|
||||
};
|
||||
callback FileCallback = void (File file);
|
||||
callback FileCallback = undefined (File file);
|
||||
|
||||
[Exposed=Window]
|
||||
interface FileSystem {
|
||||
|
|
Загрузка…
Ссылка в новой задаче