Commit 14d1927d authored by Marijn Kruisselbrink's avatar Marijn Kruisselbrink Committed by Commit Bot

[FileSystem] Update writable files IDL files to link to spec rather than explainer.

Bug: none
Change-Id: If7a634e1fec96ff363dd00ffd2fa379a7b0bce16
Reviewed-on: https://chromium-review.googlesource.com/c/1250167
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Reviewed-by: default avatarDaniel Murphy <dmurph@chromium.org>
Cr-Commit-Position: refs/heads/master@{#597649}
parent 36d11674
......@@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/WICG/writable-files/blob/master/EXPLAINER.md
// https://wicg.github.io/writable-files/#enumdef-choosefilesystementriestype
enum ChooseFileSystemEntriesType { "openFile", "saveFile", "openDirectory" };
// https://wicg.github.io/writable-files/#dictdef-choosefilesystementriesoptions
dictionary ChooseFileSystemEntriesOptions {
ChooseFileSystemEntriesType type = "openFile";
boolean multiple = false;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/WICG/writable-files/blob/master/EXPLAINER.md
// https://wicg.github.io/writable-files/#filesystemhandle
[
RuntimeEnabled=WritableFiles,
NoInterfaceObject
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/WICG/writable-files/blob/master/EXPLAINER.md
// https://wicg.github.io/writable-files/#filesystemdirectoryhandle
[
RuntimeEnabled=WritableFiles
] interface FileSystemDirectoryHandle : FileSystemBaseHandle {
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/WICG/writable-files/blob/master/EXPLAINER.md
// https://wicg.github.io/writable-files/#filesystemfilehandle
[
RuntimeEnabled=WritableFiles
] interface FileSystemFileHandle : FileSystemBaseHandle {
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/WICG/writable-files/blob/master/EXPLAINER.md
// https://wicg.github.io/writable-files/#dictdef-filesystemgetdirectoryoptions
dictionary FileSystemGetDirectoryOptions {
boolean create = false;
};
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/WICG/writable-files/blob/master/EXPLAINER.md
// https://wicg.github.io/writable-files/#dictdef-filesystemgetfileoptions
dictionary FileSystemGetFileOptions {
boolean create = false;
};
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/WICG/writable-files/blob/master/EXPLAINER.md
// https://wicg.github.io/writable-files/#filesystemwriter
[
NoInterfaceObject,
RuntimeEnabled=WritableFiles
......
......@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/WICG/writable-files/blob/master/EXPLAINER.md
// https://wicg.github.io/writable-files/#enumdef-systemdirectorytype
enum SystemDirectoryType {
"sandbox"
};
// https://wicg.github.io/writable-files/#dictdef-getsystemdirectoryoptions
dictionary GetSystemDirectoryOptions {
required SystemDirectoryType type;
};
......@@ -38,8 +38,7 @@
[RuntimeEnabled=FileSystem] void webkitResolveLocalFileSystemURL(DOMString url,
EntryCallback successCallback, optional ErrorCallback? errorCallback);
// https://github.com/WICG/writable-files/blob/master/EXPLAINER.md
// TODO(crbug.com/878581): This needs some kind of options dictionary.
// https://wicg.github.io/writable-files/#api-choosefilesystementries
[RuntimeEnabled=WritableFiles, CallWith=ScriptState, SecureContext]
Promise<(FileSystemBaseHandle or sequence<FileSystemBaseHandle>)>
chooseFileSystemEntries(optional ChooseFileSystemEntriesOptions options);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment