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

Re: XMLHttpRequest test suite suggestion

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 27 Sep 2006 23:01:42 +0200
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: <public-webapi@w3.org>
Message-ID: <ubnlh21h0ug1h82h58g7amjl6dhr8d8u3g@hive.bjoern.hoehrmann.de>

* Boris Zbarsky 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?

I don't see what's unclear here. When [[Construct]] is called, that is
the result of evaluating a "new" expression. The expression is part of
one ECMAScript program. Each ECMAScript program has one global object
associated to it. What could you call the "caller" of a [[Construct]]
method where it would be unclear what the caller's global object is?
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Wednesday, 27 September 2006 21:01:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:22 UTC