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

[File API: FileSystem] Small change: createWriter

From: Eric Uhrhane <ericu@google.com>
Date: Wed, 25 Aug 2010 11:33:44 -0700
Message-ID: <AANLkTi=XafVpChRGTppDrS3BgHn-TUy75-ChVOGJO4te@mail.gmail.com>
To: Web Applications Working Group WG <public-webapps@w3.org>
Darin and I just noticed that FileEntry.createWriter was specced as
synchronously returning a FileWriter.  That's a bug--given that a
FileWriter has a length member, it would imply a required synchronous
stat on the underlying file.  I've changed createWriter to be
asynchronous to fix this.

The method file() had the same issue, so it got the same fix.

Received on Wednesday, 25 August 2010 18:34:31 UTC

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