W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2009

Re: [webidl] XMLHttpRequest interface object

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 30 Apr 2009 11:44:06 -0700
Message-ID: <49F9F176.8020108@mit.edu>
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 GMT

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