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

Re: [XHR] Need to define the behavior when the Window the XHR is created from does not have an associated document

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 14 Dec 2012 14:46:05 -0500
Message-ID: <50CB81FD.70100@mit.edu>
To: Anne van Kesteren <annevk@annevk.nl>
CC: Ian Hickson <ian@hixie.ch>, Jungkee Song <jungkee.song@samsung.com>, public-webapps@w3.org, smaug <smaug@welho.com>
On 12/14/12 2:29 PM, Anne van Kesteren wrote:
> Per Hixie the Document is associated with both the old and the new
> Window. Meaning that XMLHttpRequest will function normally even though
> XMLHttpRequest != window.XMLHttpRequest.

I'm not sure it actually will; Olli had some concerns about event 
dispatch in the responseXML if it's tied to the old window, not the new 
one, for example.  Not sure to what extent those are 
Gecko-implementation-specific.

-Boris

Note that in Gecko the old window is in fact unhooked from the document 
during open(), to prevent memory leaks; we _may_ be able to change that, 
but it's not clear.
Received on Friday, 14 December 2012 19:46:43 GMT

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