Re: [webidl] XMLHttpRequest interface object

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