summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/filesystem/file_system_file_handle.idl
blob: 74f5582f547db8c5a6dd85c7aa6e470bd8d84da0 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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.

// https://wicg.github.io/writable-files/#filesystemfilehandle
[
    RuntimeEnabled=WritableFiles
] interface FileSystemFileHandle : FileSystemBaseHandle {
    [CallWith=ScriptState] Promise<FileSystemWriter> createWriter();
    [CallWith=ScriptState] Promise<File> getFile();
};