W3C home > Mailing lists > Public > public-device-apis@w3.org > November 2009

Re: File writing ponderings (was: Re: Security evaluation of an example DAP policy)

From: Aaron Boodman <aa@google.com>
Date: Sat, 21 Nov 2009 00:31:52 -0800
Message-ID: <278fd46c0911210031k38995de7mfdbdbd5e0c5ed519@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: Robin Berjon <robin@berjon.com>, Adam Barth <w3c@adambarth.com>, public-device-apis@w3.org, public-webapps WG <public-webapps@w3.org>
On Sat, Nov 21, 2009 at 12:26 AM, Jonas Sicking <jonas@sicking.cc> wrote:
> Hmm.. This is a very interesting idea. Definitely worth exploring more.
> What I had in mind was basically something like this:
> 1. An API for creating File objects by concatinating strings, Blobs,
> ByteArrays (or whatever they'll be called, see Maciejs proposals to
> public-webapps and public-script-coord). A mimetype and a default name
> (possibly without extension) would also be assigned to the File in
> some fashion.
> 2. A API that given a File object brings up the normal "Safe File As" dialog.

FWIW, this is what I had in mind, too, back when I used to think about
such things.

- a
Received on Saturday, 21 November 2009 08:32:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:40 UTC