You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the file on disk changes or is removed after this method is called, the returned File object will likely be no longer readable.
This isn't the normative text, but when the normative algorithm is written down will there really be any uncertainty to justify "likely" or can it be defined exactly what happens and when.
For a File that is no longer readable, does that mean that it's somehow neutered? Would lastModified reflect the change/removal time, or how would one tell that a File object is in this state?
The text was updated successfully, but these errors were encountered:
The note there is mostly trying to describe what is already (not well) defined in FileAPI. I.e. this is the behavior for all File objects that represent actual files on disk. Unfortunately this is also not very well specified in FileAPI (see for example w3c/FileAPI#47, but also w3c/FileAPI#75). I definitely intend to fix that, but will need to fix the FileAPI side of things before I can fix this side.
https://wicg.github.io/native-file-system/#api-filesystemfilehandle-getfile says in domintro:
This isn't the normative text, but when the normative algorithm is written down will there really be any uncertainty to justify "likely" or can it be defined exactly what happens and when.
For a File that is no longer readable, does that mean that it's somehow neutered? Would
lastModified
reflect the change/removal time, or how would one tell that aFile
object is in this state?The text was updated successfully, but these errors were encountered: