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

Re: XMLHttpRequest test suite suggestion

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 27 Sep 2006 22:22:13 +0200
To: "Boris Zbarsky" <bzbarsky@mit.edu>, "Bjoern Hoehrmann" <derhoermi@gmx.net>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <op.tgjz7bap64w2qv@id-c0020>

On Wed, 27 Sep 2006 22:12:18 +0200, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:
> Bjoern Hoehrmann wrote:
>>   * the internal [[Construct]] method must determine and memorize the
>>     /XHR base resource identifier reference/, the value of the baseURI
>>     property of the document property of the global object associated
>>     with the caller of the method
>
> Er... the caller?  What's the caller in this case?

Maciej has suggested the following text:

     Every XMLHttpRequest constructor is associated with
     the window object which initially had it as a
     property. When url is relative, the constructor
     must resolve it using window.document.baseURI of
     its associated window object as a base.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Wednesday, 27 September 2006 20:22:28 GMT

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