{"action":"created","comment":{"url":"https://api.github.com/repos/angular/zone.js/pulls/comments/57622988","id":57622988,"diff_hunk":"@@ -44,6 +84,32 @@ describe('XMLHttpRequest', function () {\n     });\n   }));\n \n+  it('should allow canceling of an XMLHttpRequest', function(done) {\n+    var spy = jasmine.createSpy('spy');\n+    var req;\n+\n+    testZone.run(function() {\n+    req = new XMLHttpRequest();\n+    req.onreadystatechange = function() {","path":"test/browser/XMLHttpRequest.spec.ts","position":null,"original_position":57,"commit_id":"3230585d39338aa67cb82968fb503a147492ce31","original_commit_id":"ffbac8090e77bc4677bd3ed3a7777a8cef2c1514","user":{"login":"juliemr","id":2081709,"avatar_url":"https://avatars.githubusercontent.com/u/2081709?v=3","gravatar_id":"","url":"https://api.github.com/users/juliemr","html_url":"https://github.com/juliemr","followers_url":"https://api.github.com/users/juliemr/followers","following_url":"https://api.github.com/users/juliemr/following{/other_user}","gists_url":"https://api.github.com/users/juliemr/gists{/gist_id}","starred_url":"https://api.github.com/users/juliemr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliemr/subscriptions","organizations_url":"https://api.github.com/users/juliemr/orgs","repos_url":"https://api.github.com/users/juliemr/repos","events_url":"https://api.github.com/users/juliemr/events{/privacy}","received_events_url":"https://api.github.com/users/juliemr/received_events","type":"User","site_admin":false},"body":"done.","created_at":"2016-03-28T19:53:41Z","updated_at":"2016-03-28T19:53:41Z","html_url":"https://github.com/angular/zone.js/pull/300#discussion_r57622988","pull_request_url":"https://api.github.com/repos/angular/zone.js/pulls/300","_links":{"self":{"href":"https://api.github.com/repos/angular/zone.js/pulls/comments/57622988"},"html":{"href":"https://github.com/angular/zone.js/pull/300#discussion_r57622988"},"pull_request":{"href":"https://api.github.com/repos/angular/zone.js/pulls/300"}}},"pull_request":{"url":"https://api.github.com/repos/angular/zone.js/pulls/300","id":64198241,"html_url":"https://github.com/angular/zone.js/pull/300","diff_url":"https://github.com/angular/zone.js/pull/300.diff","patch_url":"https://github.com/angular/zone.js/pull/300.patch","issue_url":"https://api.github.com/repos/angular/zone.js/issues/300","number":300,"state":"open","locked":false,"title":"WIP - treat XHRs as Macrotasks","user":{"login":"juliemr","id":2081709,"avatar_url":"https://avatars.githubusercontent.com/u/2081709?v=3","gravatar_id":"","url":"https://api.github.com/users/juliemr","html_url":"https://github.com/juliemr","followers_url":"https://api.github.com/users/juliemr/followers","following_url":"https://api.github.com/users/juliemr/following{/other_user}","gists_url":"https://api.github.com/users/juliemr/gists{/gist_id}","starred_url":"https://api.github.com/users/juliemr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliemr/subscriptions","organizations_url":"https://api.github.com/users/juliemr/orgs","repos_url":"https://api.github.com/users/juliemr/repos","events_url":"https://api.github.com/users/juliemr/events{/privacy}","received_events_url":"https://api.github.com/users/juliemr/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-25T19:30:55Z","updated_at":"2016-03-28T19:53:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1117455c31f0bda1647d8ec8a79905003ef21782","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular/zone.js/pulls/300/commits","review_comments_url":"https://api.github.com/repos/angular/zone.js/pulls/300/comments","review_comment_url":"https://api.github.com/repos/angular/zone.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/zone.js/issues/300/comments","statuses_url":"https://api.github.com/repos/angular/zone.js/statuses/3230585d39338aa67cb82968fb503a147492ce31","head":{"label":"juliemr:xhrs","ref":"xhrs","sha":"3230585d39338aa67cb82968fb503a147492ce31","user":{"login":"juliemr","id":2081709,"avatar_url":"https://avatars.githubusercontent.com/u/2081709?v=3","gravatar_id":"","url":"https://api.github.com/users/juliemr","html_url":"https://github.com/juliemr","followers_url":"https://api.github.com/users/juliemr/followers","following_url":"https://api.github.com/users/juliemr/following{/other_user}","gists_url":"https://api.github.com/users/juliemr/gists{/gist_id}","starred_url":"https://api.github.com/users/juliemr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliemr/subscriptions","organizations_url":"https://api.github.com/users/juliemr/orgs","repos_url":"https://api.github.com/users/juliemr/repos","events_url":"https://api.github.com/users/juliemr/events{/privacy}","received_events_url":"https://api.github.com/users/juliemr/received_events","type":"User","site_admin":false},"repo":{"id":16389934,"name":"zone.js","full_name":"juliemr/zone.js","owner":{"login":"juliemr","id":2081709,"avatar_url":"https://avatars.githubusercontent.com/u/2081709?v=3","gravatar_id":"","url":"https://api.github.com/users/juliemr","html_url":"https://github.com/juliemr","followers_url":"https://api.github.com/users/juliemr/followers","following_url":"https://api.github.com/users/juliemr/following{/other_user}","gists_url":"https://api.github.com/users/juliemr/gists{/gist_id}","starred_url":"https://api.github.com/users/juliemr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliemr/subscriptions","organizations_url":"https://api.github.com/users/juliemr/orgs","repos_url":"https://api.github.com/users/juliemr/repos","events_url":"https://api.github.com/users/juliemr/events{/privacy}","received_events_url":"https://api.github.com/users/juliemr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/juliemr/zone.js","description":"Implements Zones for JavaScript","fork":true,"url":"https://api.github.com/repos/juliemr/zone.js","forks_url":"https://api.github.com/repos/juliemr/zone.js/forks","keys_url":"https://api.github.com/repos/juliemr/zone.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juliemr/zone.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juliemr/zone.js/teams","hooks_url":"https://api.github.com/repos/juliemr/zone.js/hooks","issue_events_url":"https://api.github.com/repos/juliemr/zone.js/issues/events{/number}","events_url":"https://api.github.com/repos/juliemr/zone.js/events","assignees_url":"https://api.github.com/repos/juliemr/zone.js/assignees{/user}","branches_url":"https://api.github.com/repos/juliemr/zone.js/branches{/branch}","tags_url":"https://api.github.com/repos/juliemr/zone.js/tags","blobs_url":"https://api.github.com/repos/juliemr/zone.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juliemr/zone.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juliemr/zone.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/juliemr/zone.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juliemr/zone.js/statuses/{sha}","languages_url":"https://api.github.com/repos/juliemr/zone.js/languages","stargazers_url":"https://api.github.com/repos/juliemr/zone.js/stargazers","contributors_url":"https://api.github.com/repos/juliemr/zone.js/contributors","subscribers_url":"https://api.github.com/repos/juliemr/zone.js/subscribers","subscription_url":"https://api.github.com/repos/juliemr/zone.js/subscription","commits_url":"https://api.github.com/repos/juliemr/zone.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/juliemr/zone.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/juliemr/zone.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/juliemr/zone.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/juliemr/zone.js/contents/{+path}","compare_url":"https://api.github.com/repos/juliemr/zone.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juliemr/zone.js/merges","archive_url":"https://api.github.com/repos/juliemr/zone.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juliemr/zone.js/downloads","issues_url":"https://api.github.com/repos/juliemr/zone.js/issues{/number}","pulls_url":"https://api.github.com/repos/juliemr/zone.js/pulls{/number}","milestones_url":"https://api.github.com/repos/juliemr/zone.js/milestones{/number}","notifications_url":"https://api.github.com/repos/juliemr/zone.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juliemr/zone.js/labels{/name}","releases_url":"https://api.github.com/repos/juliemr/zone.js/releases{/id}","deployments_url":"https://api.github.com/repos/juliemr/zone.js/deployments","created_at":"2014-01-30T20:30:32Z","updated_at":"2016-03-15T17:04:51Z","pushed_at":"2016-03-28T19:53:39Z","git_url":"git://github.com/juliemr/zone.js.git","ssh_url":"git@github.com:juliemr/zone.js.git","clone_url":"https://github.com/juliemr/zone.js.git","svn_url":"https://github.com/juliemr/zone.js","homepage":"https://github.com/angular/zone.js","size":845,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angular:master","ref":"master","sha":"a8ea55dd977898a9cba4d695beb93bf23e0cbc50","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":15467734,"name":"zone.js","full_name":"angular/zone.js","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/zone.js","description":"Implements Zones for JavaScript","fork":false,"url":"https://api.github.com/repos/angular/zone.js","forks_url":"https://api.github.com/repos/angular/zone.js/forks","keys_url":"https://api.github.com/repos/angular/zone.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/zone.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/zone.js/teams","hooks_url":"https://api.github.com/repos/angular/zone.js/hooks","issue_events_url":"https://api.github.com/repos/angular/zone.js/issues/events{/number}","events_url":"https://api.github.com/repos/angular/zone.js/events","assignees_url":"https://api.github.com/repos/angular/zone.js/assignees{/user}","branches_url":"https://api.github.com/repos/angular/zone.js/branches{/branch}","tags_url":"https://api.github.com/repos/angular/zone.js/tags","blobs_url":"https://api.github.com/repos/angular/zone.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/zone.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/zone.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/zone.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/zone.js/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/zone.js/languages","stargazers_url":"https://api.github.com/repos/angular/zone.js/stargazers","contributors_url":"https://api.github.com/repos/angular/zone.js/contributors","subscribers_url":"https://api.github.com/repos/angular/zone.js/subscribers","subscription_url":"https://api.github.com/repos/angular/zone.js/subscription","commits_url":"https://api.github.com/repos/angular/zone.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/zone.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/zone.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/zone.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/zone.js/contents/{+path}","compare_url":"https://api.github.com/repos/angular/zone.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/zone.js/merges","archive_url":"https://api.github.com/repos/angular/zone.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/zone.js/downloads","issues_url":"https://api.github.com/repos/angular/zone.js/issues{/number}","pulls_url":"https://api.github.com/repos/angular/zone.js/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/zone.js/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/zone.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/zone.js/labels{/name}","releases_url":"https://api.github.com/repos/angular/zone.js/releases{/id}","deployments_url":"https://api.github.com/repos/angular/zone.js/deployments","created_at":"2013-12-27T06:08:07Z","updated_at":"2016-03-27T14:35:50Z","pushed_at":"2016-03-28T19:53:40Z","git_url":"git://github.com/angular/zone.js.git","ssh_url":"git@github.com:angular/zone.js.git","clone_url":"https://github.com/angular/zone.js.git","svn_url":"https://github.com/angular/zone.js","homepage":"https://github.com/angular/zone.js","size":1217,"stargazers_count":1261,"watchers_count":1261,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":105,"mirror_url":null,"open_issues_count":76,"forks":105,"open_issues":76,"watchers":1261,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/zone.js/pulls/300"},"html":{"href":"https://github.com/angular/zone.js/pull/300"},"issue":{"href":"https://api.github.com/repos/angular/zone.js/issues/300"},"comments":{"href":"https://api.github.com/repos/angular/zone.js/issues/300/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/zone.js/pulls/300/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/zone.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/zone.js/pulls/300/commits"},"statuses":{"href":"https://api.github.com/repos/angular/zone.js/statuses/3230585d39338aa67cb82968fb503a147492ce31"}}}}