diff --git a/index.bs b/index.bs index 2c738fc..e396e9f 100644 --- a/index.bs +++ b/index.bs @@ -65,7 +65,7 @@ A file system entry is either a [=file entry=] or a Each [=/file system entry=] has an associated query access -algorithm, which takes "`read`" or "`readwrite`" mode and +algorithm, which takes "`read`", "`readwrite`", or "`write`" mode and returns a [=/file system access result=]. Unless specified otherwise it returns a [=/file system access result=] with a [=file system access result/permission state=] of "{{PermissionState/denied}}" @@ -73,7 +73,7 @@ and with an [=file system access result/error name=] of the empty string. Each [=/file system entry=] has an associated request access -algorithm, which takes "`read`" or "`readwrite`" mode and +algorithm, which takes "`read`", "`readwrite`", or "`write`" mode and returns a [=/file system access result=]. Unless specified otherwise it returns a [=/file system access result=] with a [=file system access result/permission state=] of "{{PermissionState/denied}}" @@ -565,7 +565,7 @@ The createWritable(|options|) method 1. [=Enqueue the following steps=] to the [=file system queue=]: 1. Let |entry| be the result of [=locating an entry=] given |locator|. 1. Let |accessResult| be the result of running |entry|'s - [=file system entry/request access=] given "`readwrite`". + [=file system entry/request access=] given "`write`". 1. If |accessResult|'s [=file system access result/permission state=] is not "{{PermissionState/granted}}", [=queue a storage task=] with |global| to [=/reject=] |result| with a {{DOMException}} of @@ -846,7 +846,7 @@ The getFileHandle(|name|, |options|)getDirectoryHandle(|name|, |option 1. Let |entry| be the result of [=locating an entry=] given |locator|. 1. If |options|["{{FileSystemGetDirectoryOptions/create}}"] is true: 1. Let |accessResult| be the result of running |entry|'s - [=file system entry/request access=] given "`readwrite`". + [=file system entry/request access=] given "`write`". 1. Otherwise: 1. Let |accessResult| be the result of running |entry|'s [=file system entry/query access=] given "`read`". @@ -1004,7 +1004,7 @@ The removeEntry(|name|, |options|)