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

Re: [File API] Draft for Review

From: Glenn Maynard <glenn@zewt.org>
Date: Fri, 27 Jan 2012 07:59:14 -0600
Message-ID: <CABirCh9_RM_vyUWmJj6GjVdTirDSZ0kP0OyeBeHLmhUwh8gTUw@mail.gmail.com>
To: Mike Taylor <miket@opera.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Arun Ranganathan <aranganathan@mozilla.com>, "Web Applications Working Group WG (public-webapps@w3.org)" <public-webapps@w3.org>
On Thu, Jan 26, 2012 at 11:09 PM, Mike Taylor <miket@opera.com> wrote:

> Yes, synthetic keypress have multiple problems--which is why we all use
> libraries to not have to author them by hand.
>
> Regardless, this doesn't change the fact that window.URL.createObjectURL(*
> *file, true) is more opaque (and for me, harder to remember) than:
>
> window.URL.createObjectURL(**file, {oneTimeOnly: true})
>
> or something magical like window.URL.createObjectURL(**file).oneTimeOnly()
>

Again, this argument is fine, but has nothing to do with booleans.  The
same argument could be made for URL.createObjectURL(file, {expireInSeconds:
1000}) vs. URL.createObjectURL(file, 1000), or any other optional parameter.

-- 
Glenn Maynard
Received on Friday, 27 January 2012 13:59:50 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:50 GMT