Re: File* Specifications | Status and some Promises

On Aug 20, 2013, at 8:58 AM, Anne van Kesteren wrote:

> On Thu, Aug 15, 2013 at 6:49 PM, Arun Ranganathan <arun@mozilla.com> wrote:
>> ii. A new static method on URL called URL.createAndRevoke has been added that gets defaults right, and does away with autoRevoke, which nobody implemented for URL.createObjectURL.
> 
> My problem with these names is that they suggest you get a URL object
> whereas you actually get a string. They also seem longish. I suggest
> we name the revoking variant just "create" or a synonym that has less
> of a suggestion of creating a URL object.


I agree, and got the same feedback in off-list correspondence.

The ship has already sailed on URL.createObjectURL unfortunately, but we can get the newer function's name right.  Jonas proposes URL.createFor in lieu of URL.createAndRevoke.

-- A*

> 
> 
> -- 
> http://annevankesteren.nl/

Received on Tuesday, 20 August 2013 15:04:46 UTC