https://github.com/whatwg/fs/pull/96 is about to merge, which resolves the paths vs. references discussions in https://github.com/whatwg/fs/issues/59 (among other things). See the description of https://github.com/whatwg/fs/issues/59 for how this plays out in practice
<rdar://problem/107373275>