FileWriter behavior between writes

2010-08-18 Thread Eric Uhrhane
This just came up during implementation discussions, so I wanted to share it with the list. The behavior of FileWriter in between writes isn't currently specified. We haven't said anything about when the underlying file is opened or closed. Does FileWriter.write() always do an open-write-close,

Re: FileWriter behavior between writes

2010-08-18 Thread Jonas Sicking
On Wednesday, August 18, 2010, Eric Uhrhane er...@google.com wrote: This just came up during implementation discussions, so I wanted to share it with the list. The behavior of FileWriter in between writes isn't currently specified.  We haven't said anything about when the underlying file is

Re: FileWriter behavior between writes

2010-08-18 Thread Tab Atkins Jr.
On Wed, Aug 18, 2010 at 7:30 PM, Jonas Sicking jo...@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 er...@google.com wrote: For example, what if script A has a FileWriter for