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

Web APIs Issue Tracker wrote:
> ISSUE-29: how is uri parameter of the open() method resolved
> 
> http://www.w3.org/2005/06/tracker/webapi/issues/29
> 
> Raised by: Anne van Kesteren
> On product: XHR
> 
> Currently it is unclear how the URI parameter of the open() method is resolved. 
> The source of the editor's draft says it's resolved against window.location.href 
> but that might be incorrect given that <base> sets window.document.baseURI and 
> at least one browser uses that...
> 
> How does it work with xml:base? Should you look at document.documentElement.
> baseURI instead?

Note that xml:base can appear on any element, so there's nothing special 
about the documentElement. In other words I don't think xml:base is 
something that should affect XMLHttpRequest.

/ Jonas

Received on Tuesday, 28 February 2006 11:10:14 UTC