W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2010

Re: FileWriter behavior between writes

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 18 Aug 2010 19:47:20 -0700
Message-ID: <AANLkTimrsR6KjDkQeE4A95kSO9QKkWvQ-K6TkKwxEcp1@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: Eric Uhrhane <ericu@google.com>, Web Applications Working Group WG <public-webapps@w3.org>
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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:10 UTC