Bug 1777562 [wpt PR 34663] - [FedCM] Rename FederatedCredential to IdentityCredential...
[gecko.git] / dom / webidl / FileSystemHandle.webidl
blobac9d2fccc0885cf28dab311384f72805faf62585
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this
4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 enum FileSystemHandleKind {
7   "file",
8   "directory",
9 };
11 // TODO: Add Serializable
12 [Exposed=(Window,Worker), SecureContext, Pref="dom.fs.enabled"]
13 interface FileSystemHandle {
14   readonly attribute FileSystemHandleKind kind;
15   readonly attribute USVString name;
17   [NewObject]
18   Promise<boolean> isSameEntry(FileSystemHandle other);