On Feb 2, 2012, at 1:40 PM, Ian Hickson <i...@hixie.ch> wrote: > On Thu, 2 Feb 2012, Arun Ranganathan wrote: >> >> 2. Could we modify things so that img.src = blob is a reality? Mainly, >> if we modify things for the *most common* use case, that could be useful >> in mitigating some of our fears. Hixie, is this possible? > > Anything's possible, but I think the pain here would far outweigh the > benefits. There would be some really hard questions to answer, too (e.g. > what would innerHTML return? If you copied such an image from a > contentEditable section and pasted it lower down the same section, would > it still have the image?). How about just a convenience method. Blob.prototype.toString=function(){ return URL.createObjectURL(this); };
- Re: [FileAPI] createObjectURL isReusable pr... Ian Hickson
- Re: [FileAPI] createObjectURL isReusable propos... Bronislav Klučka
- Re: [FileAPI] createObjectURL isReusable pr... Bronislav Klučka
- Re: [FileAPI] createObjectURL isReusabl... Charles Pritchard
- Re: [FileAPI] createObjectURL isReusabl... Bronislav Klučka
- Re: [FileAPI] createObjectURL isReusabl... Charles Pritchard
- Re: [FileAPI] createObjectURL isReusabl... Bronislav Klučka
- Re: [FileAPI] createObjectURL isReusable proposal Bronislav Klučka
- Re: [FileAPI] createObjectURL isReusable proposal Arun Ranganathan
- Re: [FileAPI] createObjectURL isReusable proposal Ian Hickson
- Re: [FileAPI] createObjectURL isReusable propos... Charles Pritchard
- Re: [FileAPI] createObjectURL isReusable propos... Anne van Kesteren
- Re: [FileAPI] createObjectURL isReusable pr... Bronislav Klučka
- Re: [FileAPI] createObjectURL isReusabl... Glenn Maynard
- Re: [FileAPI] createObjectURL isReusabl... Bronislav Klučka
- Re: [FileAPI] createObjectURL isReusabl... Glenn Maynard
- Re: [FileAPI] createObjectURL isReusable propos... Jonas Sicking
- Re: [FileAPI] createObjectURL isReusable pr... Bronislav Klučka
- Re: [FileAPI] createObjectURL isReusabl... Charles Pritchard
- Re: [FileAPI] createObjectURL isReusabl... Bronislav Klučka