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 23:05:26 +0200
To: "Bjoern Hoehrmann" <derhoermi@gmx.net>, "Boris Zbarsky" <bzbarsky@mit.edu>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <op.tgj17cvz64w2qv@id-c0020>

On Wed, 27 Sep 2006 23:01:42 +0200, Bjoern Hoehrmann <derhoermi@gmx.net>  
wrote:
> 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?

In that case this proposal doesn't actually match what's being done by IE.  
Internet Explorer does what's noted in my other e-mail. It resolves it  
relative to the window where the constructor is defined upon (that you  
call). (I hope I phrased that more or less correct. If not, see the other  
e-mail.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Wednesday, 27 September 2006 21:05:49 GMT

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