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

Re: [FileAPI] createObjectURL isReusable proposal

From: Glenn Maynard <glenn@zewt.org>
Date: Sat, 28 Jan 2012 08:31:40 -0600
Message-ID: <CABirCh_oE8LPcH0sZDNjxxp20xsU_hwapsuZ5QZKDX+LqYKx7A@mail.gmail.com>
To: Arun Ranganathan <aranganathan@mozilla.com>
Cc: Anne van Kesteren <annevk@opera.com>, "Web Applications Working Group WG (public-webapps@w3.org)" <public-webapps@w3.org>, Feras Moussa <ferasm@microsoft.com>, Adrian Bateman <adrianba@microsoft.com>
On Fri, Jan 27, 2012 at 6:14 PM, Glenn Maynard <glenn@zewt.org> wrote:

> Something else that needs to be defined: does "xhr.open('GET', url)"
> consume the URL, or does that only happen when xhr.send() is called?  (I'm
> not looking for the answer here, just giving an example of something that
> needs to be clearly defined.)

Another case: whether loading a one-shot URL from a different origin, where
you aren't allowed to load the content, still causes the URL to be revoked.
 (My first impression was that it shouldn't affect it at all, but my second
impression is that in practice that error mode would probably always result
in the URL never being revoked and ending up leaked, so it's probably best
to free it anyway.)

Glenn Maynard
Received on Saturday, 28 January 2012 14:32:08 UTC

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