ISSUE-76: Document pointer needs fixing [XHR]

ISSUE-76: Document pointer needs fixing [XHR]

Raised by: Anne van Kesteren
On product: XHR

In the following scenarios it's not clear what should happen to the Document pointer:

var randomObj = {};  
randomObj.XMLHttpRequest = someWindow.XMLHttpRequest;  
new randomObj.XMLHttpRequest();


window.foreignXHR = otherWindow.XMLHttpRequest
new foreignXHR();

Needs testing in Internet Explorer since we followed that for the definition of Document pointer so far. (Thanks to Sam and Maciej.)

Received on Friday, 26 September 2008 10:15:16 UTC