Re: FileWriter behavior between writes

On Wed, Aug 18, 2010 at 7:30 PM, Jonas Sicking <jonas@sicking.cc> wrote:
> How is this noticeable from a webpage? I.e. why does the spec need to
> say anything one way or another?

> On Wednesday, August 18, 2010, Eric Uhrhane <ericu@google.com> wrote:
>> For
>> example, what if script A has a FileWriter for "/foo.txt" and script B
>> [using the FileSystem api] moves it elsewhere?  If the file is closed,
>> the next write from A may act as if the file was never there.  If the
>> file stayed open, on some systems the write would succeed, but the
>> data would land at the file's new location.
>>
>> Similar issues come up when files are opened for reading, then written
>> from another script, written from multiple scripts, etc.

~TJ

Received on Thursday, 19 August 2010 02:48:14 UTC