W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: [FileAPI] createObjectURL isReusable proposal

From: Glenn Maynard <glenn@zewt.org>
Date: Wed, 14 Dec 2011 15:56:41 -0500
Message-ID: <CABirCh94f1wHRiOVe8_Br3tn9_CFLJbMFjf3gc1=EAw2zXmKDQ@mail.gmail.com>
To: Adrian Bateman <adrianba@microsoft.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>
On Wed, Dec 14, 2011 at 3:00 PM, Adrian Bateman <adrianba@microsoft.com>wrote:

> I don't think we need interop for race conditions.


The platform generally tries to eliminate the possibility for race
conditions whenever possible.  It's not always possible, of course, but
adding a new category of races should be thought about carefully,
especially if all it takes to trigger it is "img1.src = img2.src = url".

Trying to use a one-time URL
> twice is supposed to go wrong and I don't think it necessarily has to go
> wrong
> in exactly the same way in all browsers. You might have the same problem
> based
> on when you call revokeObjectURL in applications today.
>

Can you give a specific example?  If there are cases where the spec allows
this to happen, it would help to see whether that's intentional or
something that should be fixed in the spec.

-- 
Glenn Maynard
Received on Wednesday, 14 December 2011 20:57:08 GMT

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