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

Re: [File API] Draft for Review

From: Jonas Sicking <jonas@sicking.cc>
Date: Thu, 26 Jan 2012 16:39:18 -0800
Message-ID: <CA+c2ei-q2ZguRAmT-ZrN7h6zxAcu-ca=NWF0H9nsj_1d6fy=zQ@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Arun Ranganathan <aranganathan@mozilla.com>, "Web Applications Working Group WG (public-webapps@w3.org)" <public-webapps@w3.org>
On Thu, Jan 26, 2012 at 4:25 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Thu, Jan 26, 2012 at 1:21 PM, Arun Ranganathan
> <aranganathan@mozilla.com> wrote:
>> 2. URL.createObjectURL now takes an optional boolean, following discussions on the listserv [oneTimeOnly].
> As I argued in <http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/1520.html>,
> we should absolutely *not* be adding more boolean arguments to the
> platform.  They should be exposed as boolean properties in an
> dictionary.  Naked bools are impossible to decipher without memorizing
> the call signature of every function.

I would be ok with that. We'll possibly want to add other optional
arguments anyway, like headers.

/ Jonas
Received on Friday, 27 January 2012 00:40:22 UTC

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