chromium/third_party/blink/renderer/modules/file_system_access/data_transfer_item_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://wicg.github.io/file-system-access/#drag-and-drop
[
    ImplementedAs=DataTransferItemFileSystemAccess,
    RuntimeEnabled=FileSystemAccessLocal
] partial interface DataTransferItem {
    [
        CallWith=ScriptState,
        RaisesException,
        MeasureAs=FileSystemAccessDragAndDrop
    ] Promise<FileSystemHandle?> getAsFileSystemHandle();
};