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

Re: [FileAPI] createObjectURL isReusable proposal

From: Kyle Huey <me@kylehuey.com>
Date: Sat, 28 Jan 2012 22:31:07 -0500
Message-ID: <CAP045Aq+uV6hqG5ZsMoBUxtR_miXb3dk0aE30Zi-Ua-DoMedzg@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: Darin Fisher <darin@chromium.org>, Adrian Bateman <adrianba@microsoft.com>, "Web Applications Working Group WG (public-webapps@w3.org)" <public-webapps@w3.org>, Feras Moussa <ferasm@microsoft.com>
Why though?  What stops UAs from accepting the relevant objects for .src
properties?

- Kyle

On Sat, Jan 28, 2012 at 2:47 AM, Ian Hickson <ian@hixie.ch> wrote:

> On Sat, 28 Jan 2012, Kyle Huey wrote:
> > On Sat, Jan 28, 2012 at 7:10 AM, Darin Fisher <darin@chromium.org>
> wrote:
> > >
> > > I'm not sure what a concrete proposal would look like.  Maybe
> > > Element.URL.createObjectURL or just Element.createObjectURL?
> >
> > Wouldn't returning an object (which can be GCd) be a better solution?
>
> The whole point of the API is that we have an object but need a string (a
> URL).
>
> --
> Ian Hickson               U+1047E                )\._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
>
Received on Sunday, 29 January 2012 03:31:46 GMT

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