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

Re: The url parameter of the XMLHttpRequest.open() method

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 10 Nov 2006 20:37:35 +0100
To: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <op.titfgqfm64w2qv@id-c0020>

On Fri, 10 Nov 2006 20:32:40 +0100, Anne van Kesteren <annevk@opera.com>  
wrote:
>>> If you want to be compatible with IE for this, what you should check is
>>> what happens if the base URI is _changed_ while the XMLHttpRequest  
>>> object exists, e.g. by changing the attribute directly or by mutating  
>>> the <base> elements in the document (if that works).
>
> I just tested this. Internet Explorer indeed takes note of of changes to  
> <base>. (Either changing .href or adding a <base> element.) Ouch!

I forgot to mention the testcases in my previous e-mail:

   http://tc.labs.opera.com/apis/XMLHttpRequest/open/018.htm
   http://tc.labs.opera.com/apis/XMLHttpRequest/open/019.htm
   http://tc.labs.opera.com/apis/XMLHttpRequest/open/020.htm

Note that the pass conditions of none of the above should be considered  
stable. The testcases will change over time to reflect the latest version  
of the Working Draft. They are just to aid in decisions on moving forward  
at the moment.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Friday, 10 November 2006 19:37:42 GMT

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