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 


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 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:50 UTC