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

Re: createBlobURL

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 19 Oct 2010 10:20:55 +0200
To: "Michael Nordman" <michaeln@google.com>, "Jonas Sicking" <jonas@sicking.cc>
Cc: arun@mozilla.com, public-webapps <public-webapps@w3.org>, "Arthur Barstow" <art.barstow@nokia.com>, "Adam Barth" <abarth@gmail.com>, "Darin Fisher" <darin@google.com>
Message-ID: <op.vktdg5hr64w2qv@anne-van-kesterens-macbook-pro.local>
On Tue, 19 Oct 2010 02:30:39 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
> I agree. Another thing that is nice about the window.*BlobURL() API is
> that it makes it clear which origin the created url will have. I.e.
> the origin of the window which it's called on.
> We could maintain that even if we used a URL constructor by saying
> that it's tied to the window whose .URL property was used as
> constructor, but it makes it a much more indirect connection.

It is not any less direct than how it works for new XMLHttpRequest, new  
Worker, new EventSource, and any other number of constructors where URLs  
are somehow involved in the objects they create. I do not really see why  
new URL would be special here.

Anne van Kesteren
Received on Tuesday, 19 October 2010 08:21:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:13 UTC