chromium/third_party/blink/renderer/modules/file_system_access/storage_manager_file_system_access.idl

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://fs.spec.whatwg.org/#sandboxed-filesystem
[
    SecureContext,
    RuntimeEnabled=FileSystemAccessOriginPrivate,
    ImplementedAs=StorageManagerFileSystemAccess
] partial interface StorageManager {
    [CallWith=ScriptState, RaisesException, Measure]
    Promise<FileSystemDirectoryHandle> getDirectory();
};