// 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();
};