Re: [File API] Draft for Review

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