- From: Jonas Sicking <jonas@sicking.cc>
- Date: Tue, 16 Nov 2010 12:20:13 -0800
- To: Dmitry Titov <dimich@chromium.org>
- Cc: Michael Nordman <michaeln@google.com>, Anne van Kesteren <annevk@opera.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, Adrian Bateman <adrianba@microsoft.com>, Arun Ranganathan <aranganathan@mozilla.com>, Web Applications Working Group WG <public-webapps@w3.org>, Adam Barth <w3c@adambarth.com>
On Tue, Nov 16, 2010 at 12:07 PM, Dmitry Titov <dimich@chromium.org> wrote: > Thanks Michael, > so the proposed change is this: window.createObjectURL -> > window.URL.createObjectURL > and it means it's also possible to do something like this: > var otherWindow = window.open(...) > otherWindow.URL.createObjectURL(...) > Is this correct understanding? If you do this, then the lifetime of the URL is the lifetime of the Document in otherWindow. Actually since at the time you're calling createObjectURL otherWindow still contains an about:blank document, as soon as the url passed to window.open is loaded, the returned URL will expire. / Jonas
Received on Tuesday, 16 November 2010 20:21:07 UTC