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: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Fri, 14 Dec 2012 21:53:08 +0200
Message-ID: <50CB83A4.3020905@helsinki.fi>
To: Boris Zbarsky <bzbarsky@MIT.EDU>, 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/2012 09:46 PM, Boris Zbarsky wrote:
> 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,
That concern is Gecko implementation detail.

> 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:53:58 UTC

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