"Boris Zbarsky" <[EMAIL PROTECTED]>
To repeat it a third time.  If do something along the lines of:

var func = window1.XMLHttpRequest;
var req = new (func.apply(window2)();

or some such, which is the "window from which you use the constructor"? window1 or window2?

If what I said is not possible to do, I'm happy, but then I'd like to be pointed to the part of the ECMA spec that says so; I haven't been able to find it.

It's a host object the apply is undefined in ECMA, so I see no reason for the WEB API's WG to define it more than ECMA does.

I would encourage you to simply not support apply on such host objects, it's far the easiest solution, and avoids the problem you have..

Jim.

Reply via email to