Bug 1444352 [wpt PR 9782] - Update the entries-api IDL file, a=testonly

Automatic update from web-platform-testsAdd entries-api idl file

--
Updated entries-api IDL file

wpt-commits: 9a9e75272ad752bda0b418e38ec91340f131a87d, 9817f7f027fe1e92cc2fce31d6002c4d669918e8
wpt-pr: 9782
wpt-commits: 9a9e75272ad752bda0b418e38ec91340f131a87d, 9817f7f027fe1e92cc2fce31d6002c4d669918e8
wpt-pr: 9782
This commit is contained in:
Luke Bjerring 2018-03-26 15:35:16 +00:00 committed by James Graham
parent 1cb55a762d
commit 96d3384f12
2 changed files with 8 additions and 13 deletions

View File

@ -570574,7 +570574,7 @@
"support"
],
"interfaces/entries-api.idl": [
"7fc7361fd635d7377169a756c3369c082f41d5d2",
"6bb93df3e14e49931f54eead37a009649e035bd1",
"support"
],
"interfaces/fullscreen.idl": [

View File

@ -1,3 +1,6 @@
// GENERATED CONTENT - DO NOT EDIT
// Content of this file was automatically extracted from the File and Directory Entries API spec.
// See https://wicg.github.io/entries-api/
partial interface File {
readonly attribute USVString webkitRelativePath;
@ -12,9 +15,7 @@ partial interface DataTransferItem {
FileSystemEntry? webkitGetAsEntry();
};
callback interface ErrorCallback {
void handleEvent(DOMException err);
};
callback ErrorCallback = void (DOMException err);
interface FileSystemEntry {
readonly attribute boolean isFile;
@ -44,25 +45,19 @@ dictionary FileSystemFlags {
boolean exclusive = false;
};
callback interface FileSystemEntryCallback {
void handleEvent(FileSystemEntry entry);
};
callback FileSystemEntryCallback = void (FileSystemEntry entry);
interface FileSystemDirectoryReader {
void readEntries(FileSystemEntriesCallback successCallback,
optional ErrorCallback errorCallback);
};
callback interface FileSystemEntriesCallback {
void handleEvent(sequence<FileSystemEntry> entries);
};
callback FileSystemEntriesCallback = void (sequence<FileSystemEntry> entries);
interface FileSystemFileEntry : FileSystemEntry {
void file(FileCallback successCallback,
optional ErrorCallback errorCallback);
};
callback interface FileCallback {
void handleEvent(File file);
};
callback FileCallback = void (File file);
interface FileSystem {
readonly attribute USVString name;