From b34c5bfa66c066c223161e9eb4b4f391a80bdae0 Mon Sep 17 00:00:00 2001 From: Austin Sullivan Date: Thu, 6 Apr 2023 23:58:45 +0000 Subject: [PATCH] assume entry exists if it can be located --- index.bs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/index.bs b/index.bs index 89a2e16..5cfdcd0 100644 --- a/index.bs +++ b/index.bs @@ -598,12 +598,10 @@ run the following steps: [=FileSystemHandle/in the origin private file system=]: 1. Let |entry| be the result of [=locating an entry=] given |startIn|'s [=FileSystemHandle/locator=]. - 1. If |entry| is a [=file entry=], and a path on the local file system - corresponding to the parent directory of |entry| can be determined, - then return that path. - 1. If |entry| is a [=directory entry=], and a path on the local file system - corresponding to |entry| can be determined, - then return that path. + 1. If |entry| is a [=file entry=], return the path of + |entry|'s [=file system entry/parent=] in the local file system. + 1. If |entry| is a [=directory entry=], return + |entry|'s path in the local file system. 1. If |id| is non-empty: 1. If [=recently picked directory map=][|origin|] [=map/exists=]: