Using the cordova-app-hello-world code on a WP8 device, connected to the device through weinre, trying to use XMLHTTPRequest like this:
An error is raised at xhr.open: TypeError: Object doesn't support property or method 'addEventListener'
The same code on iOS runs through and shows me the content of index.js.
Changing the call to:
Returns the expected result.
I also noticed that XMLHttpRequest.prototype.open does not match the code in cordovalib\XHRHelper.cs:
GitHub repository with the code I used: https://github.com/gaqzi/cordova-wp8-xhr-test