{"action":"opened","issue":{"url":"https://api.github.com/repos/driverdan/node-XMLHttpRequest/issues/106","labels_url":"https://api.github.com/repos/driverdan/node-XMLHttpRequest/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/driverdan/node-XMLHttpRequest/issues/106/comments","events_url":"https://api.github.com/repos/driverdan/node-XMLHttpRequest/issues/106/events","html_url":"https://github.com/driverdan/node-XMLHttpRequest/issues/106","id":98757992,"number":106,"title":"event in onreadystatechanged is undefined","user":{"login":"kasbah","id":206854,"avatar_url":"https://avatars.githubusercontent.com/u/206854?v=3","gravatar_id":"","url":"https://api.github.com/users/kasbah","html_url":"https://github.com/kasbah","followers_url":"https://api.github.com/users/kasbah/followers","following_url":"https://api.github.com/users/kasbah/following{/other_user}","gists_url":"https://api.github.com/users/kasbah/gists{/gist_id}","starred_url":"https://api.github.com/users/kasbah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasbah/subscriptions","organizations_url":"https://api.github.com/users/kasbah/orgs","repos_url":"https://api.github.com/users/kasbah/repos","events_url":"https://api.github.com/users/kasbah/events{/privacy}","received_events_url":"https://api.github.com/users/kasbah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-03T14:35:50Z","updated_at":"2015-08-03T14:35:50Z","closed_at":null,"body":"This simple example\r\n\r\n```js\r\nXMLHttpRequest = require('xmlhttprequest').XMLHttpRequest\r\nxhr = new XMLHttpRequest()\r\nxhr.open('GET', 'https://github.com')\r\nxhr.onreadystatechange = function (ev) {\r\n  console.log(ev);\r\n}\r\nxhr.send()\r\n```\r\n\r\noutputs\r\n\r\n```\r\nundefined\r\nundefined\r\n...\r\nundefined\r\n```\r\n\r\nI tried this with both https and http urls. I am using node `v0.12.7`.\r\n"}}