| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // Async iterator returned by FileSystemDirectoryHandle.getEntries(). |
| // https://github.com/WICG/writable-files/blob/master/EXPLAINER.md |
| // https://www.ecma-international.org/ecma-262/9.0/index.html#sec-asynciterator-interface |
| [ |
| LegacyNoInterfaceObject, |
| ActiveScriptWrappable, |
| RuntimeEnabled=FileSystemAccess |
| ] interface FileSystemDirectoryIterator { |
| [CallWith=ScriptState] Promise<any> next(); |
| }; |