diff --git a/index.bs b/index.bs index fdb1125..f0ef890 100644 --- a/index.bs +++ b/index.bs @@ -158,8 +158,7 @@ if |a| and |b| are backed by the same file or directory on the local file system
To resolve a -[=/file system locator=] |child| relative to a [=directory locator=] |root|, -run these steps: +[=/file system locator=] |child| relative to a [=directory locator=] |root|: 1. Let |result| be [=a new promise=]. 1. Run these steps [=in parallel=]: @@ -231,8 +230,13 @@ these constraints:
@@ -244,8 +248,13 @@ constraints: @@ -332,9 +341,8 @@ The kind getter steps are to return [=this=]'s [=FileSystemHandle/locator=]'s [=file system locator/kind=]. The name getter steps are to return -the empty [=string=] if [=this=] is the root directory of the -[=origin private file system=]; otherwise the last [=list/item=] (a [=string=]) -of [=this=]'s [=FileSystemHandle/locator=]'s [=file system locator/path=]. +the last [=list/item=] (a [=string=]) of +[=this=]'s [=FileSystemHandle/locator=]'s [=file system locator/path=]. ### The {{FileSystemHandle/isSameEntry()}} method ### {#api-filesystemhandle-issameentry} @@ -395,9 +403,10 @@ given a [=directory locator=] |parentLocator| and a string |name| in a [=/Realm=
-To create a new FileSystemFileHandle +To +create a new FileSystemFileHandle given a [=/file system root=] |root| and a [=/file system path=] |path| -in a [=/Realm=] |realm|, run these steps: +in a [=/Realm=] |realm|: 1. Let |handle| be a [=new=] {{FileSystemFileHandle}} in |realm|. 1. Set |handle|'s [=FileSystemHandle/locator=] to a [=/file system locator=] whose @@ -615,9 +624,10 @@ given a [=directory locator=] |parentLocator| and a string |name| in a [=/Realm=
-To create a new FileSystemDirectoryHandle +To +create a new FileSystemDirectoryHandle given a [=/file system root=] |root| and a [=/file system path=] |path| -in a [=/Realm=] |realm|, run these steps: +in a [=/Realm=] |realm|: 1. Let |handle| be a [=new=] {{FileSystemDirectoryHandle}} in |realm|. 1. Set |handle|'s [=FileSystemHandle/locator=] to a [=/file system locator=] whose @@ -1542,7 +1552,7 @@ The getDirectory() method steps are: 1. Set |map|["root"] to |dir|. 1. Let |root| be an [=implementation-defined=] opaque [=string=]. -1. Let |path| be « ». +1. Let |path| be « the empty string ». 1. Let |handle| be the result of creating a new FileSystemDirectoryHandle. given |root| and |path| in the [=current realm=].