Skip to content

Commit 749b24d

Browse files
committed
reorder access request
1 parent e8d062b commit 749b24d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,12 @@ The <dfn method for=FileSystemHandle>remove(|options|)</dfn> method steps are:
266266

267267
1. Let |result| be [=a new promise=].
268268
1. Run these steps [=in parallel=]:
269-
1. Let |entry| be <b>[=this=]</b>'s [=FileSystemHandle/entry=].
270269
1. Let |access| be the result of running [=this=]'s
271270
[=FileSystemHandle/entry=]'s [=entry/request access=] given "`readwrite`".
272271
1. If |access| is not "{{PermissionState/granted}}", reject |result| with a
273272
"{{NotAllowedError}}" {{DOMException}} and abort.
274273

274+
1. Let |entry| be [=this=]'s [=FileSystemHandle/entry=].
275275
1. Let |lockResult| be the result of [=file entry/lock/take|taking a lock=]
276276
with "`exclusive`" on |entry|.
277277
1. If |lockResult| is false, [=reject=] |result| with a

0 commit comments

Comments
 (0)