W3C home > Mailing lists > Public > public-media-capture@w3.org > May 2012

Re: Another image capture API proposal (Re: Fwd: Re: Re: Proposed resolution for open items)

From: Randell Jesup <randell-ietf@jesup.org>
Date: Fri, 18 May 2012 17:31:37 -0700
Message-ID: <4FB6E9E9.1080507@jesup.org>
To: public-media-capture@w3.org
On 5/17/2012 10:57 AM, Jim Barnett wrote:
> Randall,
>    Could you explain what you mean by the  'use-once aspect'?  As I read
> the file api document, the URL created by createObjectURL is valid until
> it is explicitly revoked (or the page is destroyed).  I understand that
> direct access to (and assignment of) the underlying stream can be
> convenient, but is it necessary for your example to work?

URLs from createObjectURL() are either valid until revoked, or until the 
first use (optionally).  The first-use bit helps to avoid resource leaks 
and avoid application tracking of liveliness, but that means you can't 
pull the value out of .src and use it again with any certainty.

Randell Jesup
Received on Saturday, 19 May 2012 00:32:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:24:35 UTC