W3C home > Mailing lists > Public > public-webapi@w3.org > May 2006

Re: ISSUE-29: how is uri parameter of the open() method resolved

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 30 May 2006 13:57:47 -0700
Message-ID: <447CB1CB.1000909@sicking.cc>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: Anne van Kesteren <annevk@opera.com>, "Web APIs WG (public)" <public-webapi@w3.org>

Boris Zbarsky wrote:
> Anne van Kesteren wrote:
>> What we resolved for ISSUE-29 is that the XHR object has an intrinsic 
>> property holding Window.document.baseURI from the Window it was 
>> created in.
> How is that defined?  Say if I do:
>   var xmlHttp = new window.opener.XMLHttpRequest();
> which window was the request created in?

The intrinsic property will have the value of 
window.opener.document.baseURI. I.e. the window whose constructor is 
used is the window which is used to grab the baseuri.

> I assume that there are testcases somewhere checking what IE does in 
> these various circumstances?

Yes, we used the testcase attached to 

/ Jonas
Received on Tuesday, 30 May 2006 20:57:55 UTC

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