W3C home > Mailing lists > Public > public-device-apis@w3.org > March 2010

Re: New draft of FileWriter API posted

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 10 Mar 2010 12:32:45 +0100
To: public-device-apis@w3.org
Message-ID: <op.u9cnovap64w2qv@annevk-t60>
On Sat, 06 Mar 2010 03:01:13 +0100, Eric Uhrhane <ericu@google.com> wrote:
> [1] http://dev.w3.org/2009/dap/file-system/file-writer.html

I think the exception on append() should move to setting the endings  
attribute. I.e. when setting endings to an unsupported value it throws. It  
should throw a SYNTAX_ERR exception. That would be most compatible with  
similar attributes in HTML5. (Attributes limited to a known set of values.)

Of course, if we drop endings this is no longer relevant.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Wednesday, 10 March 2010 11:33:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:14:06 GMT