W3C home > Mailing lists > Public > public-webapi@w3.org > October 2007

Window pointer

From: Tatham Oddie <tatham@oddie.com.au>
Date: Sun, 28 Oct 2007 13:12:46 +1100
To: <public-webapi@w3.org>
Message-ID: <006e01c81908$0b849450$228dbcf0$@com.au>

Hi guys,

I've been reading the XMLHttpRequest spec, and was looking to get some
clarification on this passage:


When the XMLHttpRequest() constructor is invoked a persistent pointer to the
associated Window object must be stored on the newly created object. This is
the Window pointer. The associated Window object is the one of which the
XMLHttpRequest() constructor was invoked. This pointer must persist even if
the browsing context in which the Window is located is destroyed (by
removing it from a parent browsing context, for instance). 


What is the purpose of storing this pointer? What does it get used for?


Tatham Oddie
call:+61414275989, call:+61280113982, skype:tathamoddie,
msn:tatham@oddie.com.au, tatham.oddie.com.au
Received on Monday, 29 October 2007 16:16:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:24 UTC