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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 25 Feb 2006 10:36:18 +0100
To: "Web APIs WG" <public-webapi@w3.org>
Message-ID: <op.s5ivmsr664w2qv@id-c0020.oslo.opera.com>

On Fri, 24 Feb 2006 18:34:52 +0100, Maciej Stachowiak <mjs@apple.com>  
wrote:
> In Safari, and I believe also in Firefox and Internet Explorer, if the  
> URI parameter is a relative URI reference, it is resolved against the  
> window.location.href of the Window object currently executing script,  
> which may or may not be the same as the one used to create the  
> XMLHttpRequest object.

Firefox uses document.baseURI from what I recall. (Probably because of  
<base> and author expectations...)


> I can make a test case to check this.

That would be great!


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Saturday, 25 February 2006 09:36:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:53 GMT