On Thu, 21 Sep 2006 19:57:48 -0000, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
Anne van Kesteren wrote:
Basically, from the window you contruct the object in
How is that defined? Is it possible to take window1.XMLHttpRequest and
use apply() to call it with window2 as |this|? In that case, which
window was the object constructed in? Or is the "window you construct
the object in" the window that calls the constructor (call it window3 in
this case)?
Sorry, it's the window from which you use the constructor.
var x = new frame.contentWindow.XMLHttpRequest()
Means that URIs are resolved against contentWindow.document.baseURI.
--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>