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

Re: Window pointer

From: Stewart Brodie <stewart.brodie@antplc.com>
Date: Mon, 19 Nov 2007 11:00:35 +0000
To: public-webapi@w3.org
Message-ID: <31033b903815fcd0a1d3cc632a114609cc70c2eb@localhost>

"Anne van Kesteren" <annevk@opera.com> wrote:

> On Sat, 17 Nov 2007 00:31:24 +0100, Subbu Allamaraju  
> <subbu.allamaraju@gmail.com> wrote:
> > But this can be done without requiring that "a persistent pointer to the
> > associated Window object must be stored on the newly created object". An
> > implementation can store whatever it needs to resolve the URI argument.
> > Isn't the requirement on the resolution and not on storing the pointer?
> I'm not sure what you mean. The URI is resolved the moment open() is  
> invoked. If between creating the XMLHttpRequest and invoking the open()  
> object the base URI of the document of the Window you have a pointer  
> towards changes that has to be taken into account. If that Window is  
> removed from the document (by removing the <iframe> that contains it) you 

> still need to have a pointer towards it to ensure that the URI is properly
> resolved. This is how Internet Explorer handles these cases based on these
> testcases:
>    http://tc.labs.opera.com/apis/XMLHttpRequest/open/

In such a case of a window having been deleted, and consequently the
document within that window, what is the base URI?  Is it the base URI of
the last document that inhabited the window?

Stewart Brodie
Software Engineer
ANT Software Limited
Received on Monday, 19 November 2007 11:00:57 UTC

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