fs icon indicating copy to clipboard operation
fs copied to clipboard

truncate() definition doesn't match the non-normative text

Open jesup opened this issue 3 years ago • 2 comments

The text for truncate() on a WritableFileStream doesn't match the non-normative text, such as the discussion of the cursor position.

jesup avatar Sep 16 '22 02:09 jesup

The text for truncate()

Are you talking about the algorithm? (https://fs.spec.whatwg.org/#:~:text=The%20truncate(size,Return%20result) If so, the same issue (of not updating the cursor) also applies to write()

a-sully avatar Sep 27 '22 20:09 a-sully

Yes. And as you note, there are a bunch of mentions of the cursor in the non-normative text, but 0 references to cursor in the normative text

jesup avatar Sep 28 '22 02:09 jesup

Closing in factor of https://github.com/whatwg/fs/issues/77

dslee414 avatar Jan 08 '23 19:01 dslee414