- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Thu, 30 Apr 2009 11:44:06 -0700
- To: Sam Weinig <weinig@apple.com>
- CC: WebApps WG <public-webapps@w3.org>
Sam Weinig wrote:
> I am not sure this always holds. In the case of the the transition from
> the initial ("about:blank") document to a loaded document, the window
> needs to be reused at times. Take for instance,
>
> w = window.open("testForProperties.html");
> w.customWindowProperty = "1";
> w.document.customDocumentProperty = "2";
>
> when testForProperties.html is done loading, customWindowProperty will
> still be there, but document.customDocumentProperty will not.
Yep. In this case, that's exactly what Gecko does: puts the new
document in the old inner window.
-Boris
Received on Thursday, 30 April 2009 18:44:51 UTC