ISSUE-75: Document pointer needs fixing [XHR]

ISSUE-75: Document pointer needs fixing [XHR]

http://www.w3.org/2008/webapps/track/issues/75

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();

or

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:09 UTC