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 @@ ...@@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // 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" }; enum ChooseFileSystemEntriesType { "openFile", "saveFile", "openDirectory" };
// https://wicg.github.io/writable-files/#dictdef-choosefilesystementriesoptions
dictionary ChooseFileSystemEntriesOptions { dictionary ChooseFileSystemEntriesOptions {
ChooseFileSystemEntriesType type = "openFile"; ChooseFileSystemEntriesType type = "openFile";
boolean multiple = false; boolean multiple = false;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// https://github.com/WICG/writable-files/blob/master/EXPLAINER.md // https://wicg.github.io/writable-files/#filesystemhandle
[ [
RuntimeEnabled=WritableFiles, RuntimeEnabled=WritableFiles,
NoInterfaceObject NoInterfaceObject
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// https://github.com/WICG/writable-files/blob/master/EXPLAINER.md // https://wicg.github.io/writable-files/#filesystemdirectoryhandle
[ [
RuntimeEnabled=WritableFiles RuntimeEnabled=WritableFiles
] interface FileSystemDirectoryHandle : FileSystemBaseHandle { ] interface FileSystemDirectoryHandle : FileSystemBaseHandle {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// https://github.com/WICG/writable-files/blob/master/EXPLAINER.md // https://wicg.github.io/writable-files/#filesystemfilehandle
[ [
RuntimeEnabled=WritableFiles RuntimeEnabled=WritableFiles
] interface FileSystemFileHandle : FileSystemBaseHandle { ] interface FileSystemFileHandle : FileSystemBaseHandle {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // 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 { dictionary FileSystemGetDirectoryOptions {
boolean create = false; boolean create = false;
}; };
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // 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 { dictionary FileSystemGetFileOptions {
boolean create = false; boolean create = false;
}; };
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// https://github.com/WICG/writable-files/blob/master/EXPLAINER.md // https://wicg.github.io/writable-files/#filesystemwriter
[ [
NoInterfaceObject, NoInterfaceObject,
RuntimeEnabled=WritableFiles RuntimeEnabled=WritableFiles
......
...@@ -2,11 +2,12 @@ ...@@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // 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 { enum SystemDirectoryType {
"sandbox" "sandbox"
}; };
// https://wicg.github.io/writable-files/#dictdef-getsystemdirectoryoptions
dictionary GetSystemDirectoryOptions { dictionary GetSystemDirectoryOptions {
required SystemDirectoryType type; required SystemDirectoryType type;
}; };
...@@ -38,8 +38,7 @@ ...@@ -38,8 +38,7 @@
[RuntimeEnabled=FileSystem] void webkitResolveLocalFileSystemURL(DOMString url, [RuntimeEnabled=FileSystem] void webkitResolveLocalFileSystemURL(DOMString url,
EntryCallback successCallback, optional ErrorCallback? errorCallback); EntryCallback successCallback, optional ErrorCallback? errorCallback);
// https://github.com/WICG/writable-files/blob/master/EXPLAINER.md // https://wicg.github.io/writable-files/#api-choosefilesystementries
// TODO(crbug.com/878581): This needs some kind of options dictionary.
[RuntimeEnabled=WritableFiles, CallWith=ScriptState, SecureContext] [RuntimeEnabled=WritableFiles, CallWith=ScriptState, SecureContext]
Promise<(FileSystemBaseHandle or sequence<FileSystemBaseHandle>)> Promise<(FileSystemBaseHandle or sequence<FileSystemBaseHandle>)>
chooseFileSystemEntries(optional ChooseFileSystemEntriesOptions options); 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