W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: [whatwg] Intent of the FileSystem API

From: Glenn Maynard <glenn@zewt.org>
Date: Tue, 1 Mar 2011 15:26:53 -0500
Message-ID: <AANLkTik486xw3CAmX4hxTjOToB8VLn3vajsxi_sXj_JU@mail.gmail.com>
To: Eric Uhrhane <ericu@google.com>
Cc: Charles Pritchard <chuck@jumis.com>, Web Applications Working Group WG <public-webapps@w3.org>
On Tue, Mar 1, 2011 at 3:17 PM, Eric Uhrhane <ericu@google.com> wrote:
>> Maybe disallow nulls; I'm not sure if this is special enough to
>> actually need to be in this set.
>
> I like it, though, as allowing nulls in strings is likely to lead to user error.

In my experience, most of the errors surrounding nulls are related to
null-terminated strings, which doesn't apply in JS.

I'm not bothered much either way, though: no real systems support
nulls in filenames (since it would break just about all C APIs), so
disallowing it won't break anything.

-- 
Glenn Maynard
Received on Tuesday, 1 March 2011 20:27:26 UTC

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