2018-09-13 23:04:55 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2016-06-07 01:55:16 +03:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
2019-01-22 12:29:49 +03:00
|
|
|
*
|
|
|
|
* https://wicg.github.io/entries-api/#idl-index
|
2016-06-07 01:55:16 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
dictionary FileSystemFlags {
|
|
|
|
boolean create = false;
|
|
|
|
boolean exclusive = false;
|
|
|
|
};
|
|
|
|
|
2019-01-22 12:29:49 +03:00
|
|
|
callback FileSystemEntryCallback = void (FileSystemEntry entry);
|
2016-06-07 01:55:16 +03:00
|
|
|
|
2019-01-22 12:29:49 +03:00
|
|
|
callback ErrorCallback = void (DOMException err);
|
2016-06-07 01:55:16 +03:00
|
|
|
|
2019-09-27 18:26:14 +03:00
|
|
|
[Exposed=Window]
|
2016-08-18 10:17:02 +03:00
|
|
|
interface FileSystem {
|
2016-11-03 09:55:17 +03:00
|
|
|
readonly attribute USVString name;
|
2016-08-18 10:18:05 +03:00
|
|
|
readonly attribute FileSystemDirectoryEntry root;
|
2016-06-07 01:55:16 +03:00
|
|
|
};
|