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

Re: StreamBuilder threshold

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 27 Mar 2012 22:26:03 +1300
Message-ID: <CAOp6jLaZ=us44Gnr5YsszJqh5Hp3jPFUJeRoGEriOSDVQqGnGw@mail.gmail.com>
To: Feras Moussa <ferasm@microsoft.com>
Cc: Stefan Hakansson LK <stefan.lk.hakansson@ericsson.com>, Travis Leithead <travis.leithead@microsoft.com>, "public-webapps@w3.org" <public-webapps@w3.org>
On Thu, Feb 23, 2012 at 12:58 PM, Feras Moussa <ferasm@microsoft.com> wrote:

> This isn't clear from the spec (And I've made a note to clarify it) but
> URLs for
>  streams should be one time use URLs (once used it should be automatically
> revoked).

Is it always possible to define that in a sane way?

For example, what if you write
  var url = createObjectURL(stream);
  element.innerHTML = "<video src='" + url + "'></video><video src='" + url
+ "'></video>";
  var url = createObjectURL(stream);
  document.getElementsByTagName("style")[0].textContent =
    "body, div { background:url(" + url + "); }";

Basically I don't think "the exact moment a URL is used" is a well-defined
concept in our current specs.

“You have heard that it was said, ‘Love your neighbor and hate your enemy.’
But I tell you, love your enemies and pray for those who persecute you,
that you may be children of your Father in heaven. ... If you love those
who love you, what reward will you get? Are not even the tax collectors
doing that? And if you greet only your own people, what are you doing more
than others?" [Matthew 5:43-47]
Received on Tuesday, 27 March 2012 09:26:33 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:39 UTC