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

On Sun, 15 Oct 2006 23:58:25 +0200, 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!

This means that resolving of the URI has to happen on invoking send() I  
suppose using the then current base URI (where to find that base URI  
should be the same).

Does anyone see any potential problems with this?


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Friday, 10 November 2006 19:33:09 UTC