{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/1050","labels_url":"https://api.github.com/repos/angular/angular/issues/1050/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/1050/comments","events_url":"https://api.github.com/repos/angular/angular/issues/1050/events","html_url":"https://github.com/angular/angular/issues/1050","id":63612927,"number":1050,"title":"calling setTimeout throws a maximum call stack exception","user":{"login":"dylanb","id":79245,"avatar_url":"https://avatars.githubusercontent.com/u/79245?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanb","html_url":"https://github.com/dylanb","followers_url":"https://api.github.com/users/dylanb/followers","following_url":"https://api.github.com/users/dylanb/following{/other_user}","gists_url":"https://api.github.com/users/dylanb/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanb/subscriptions","organizations_url":"https://api.github.com/users/dylanb/orgs","repos_url":"https://api.github.com/users/dylanb/repos","events_url":"https://api.github.com/users/dylanb/events{/privacy}","received_events_url":"https://api.github.com/users/dylanb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"btford","id":474988,"avatar_url":"https://avatars.githubusercontent.com/u/474988?v=3","gravatar_id":"","url":"https://api.github.com/users/btford","html_url":"https://github.com/btford","followers_url":"https://api.github.com/users/btford/followers","following_url":"https://api.github.com/users/btford/following{/other_user}","gists_url":"https://api.github.com/users/btford/gists{/gist_id}","starred_url":"https://api.github.com/users/btford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btford/subscriptions","organizations_url":"https://api.github.com/users/btford/orgs","repos_url":"https://api.github.com/users/btford/repos","events_url":"https://api.github.com/users/btford/events{/privacy}","received_events_url":"https://api.github.com/users/btford/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/angular/milestones/19","html_url":"https://github.com/angular/angular/milestones/M*:%20Later","labels_url":"https://api.github.com/repos/angular/angular/milestones/19/labels","id":976064,"number":19,"title":"M*: Later","description":"","creator":{"login":"mhevery","id":111951,"avatar_url":"https://avatars.githubusercontent.com/u/111951?v=3","gravatar_id":"","url":"https://api.github.com/users/mhevery","html_url":"https://github.com/mhevery","followers_url":"https://api.github.com/users/mhevery/followers","following_url":"https://api.github.com/users/mhevery/following{/other_user}","gists_url":"https://api.github.com/users/mhevery/gists{/gist_id}","starred_url":"https://api.github.com/users/mhevery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhevery/subscriptions","organizations_url":"https://api.github.com/users/mhevery/orgs","repos_url":"https://api.github.com/users/mhevery/repos","events_url":"https://api.github.com/users/mhevery/events{/privacy}","received_events_url":"https://api.github.com/users/mhevery/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":9,"state":"open","created_at":"2015-02-11T22:57:07Z","updated_at":"2015-04-08T00:07:19Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-03-23T03:21:41Z","updated_at":"2015-04-08T13:43:40Z","closed_at":null,"body":"1. Load any Angular 2 application\r\n2. Open the Chrome developer tools\r\n3. Switch to the console\r\n4. Enter `setTimeout(function () {console.log('timeout');}, 0);`\r\n5. Note the exception (reproduced below) for the maximum stack exception\r\n\r\nThis is simply a very easy way to reproduce a problem that occurs in real applications/components that need to use timeouts inside event handlers. Needs to be fixed.\r\n\r\n```\r\nUncaught RangeError: Maximum call stack size exceeded es 6-shim.js:29889\r\nrun                                                   es 6-shim.js:29866\r\nzoneBoundFn                                           es6-shim.js:29940\r\narguments.(anonymous function)                        es6-shim.js:29873\r\n(anonymous function)                                  es6-shim.js:29889\r\nrun                                                   es6-shim.js:29866\r\nzoneBoundFn                                           es6-shim.js:29940\r\narguments.(anonymous function)                        es6-shim.js:29873\r\n(anonymous function)                                  es6-shim.js:29889\r\nrun                                                   es6-shim.js:29866\r\n```"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/90921052","html_url":"https://github.com/angular/angular/issues/1050#issuecomment-90921052","issue_url":"https://api.github.com/repos/angular/angular/issues/1050","id":90921052,"user":{"login":"naomiblack","id":2286589,"avatar_url":"https://avatars.githubusercontent.com/u/2286589?v=3","gravatar_id":"","url":"https://api.github.com/users/naomiblack","html_url":"https://github.com/naomiblack","followers_url":"https://api.github.com/users/naomiblack/followers","following_url":"https://api.github.com/users/naomiblack/following{/other_user}","gists_url":"https://api.github.com/users/naomiblack/gists{/gist_id}","starred_url":"https://api.github.com/users/naomiblack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naomiblack/subscriptions","organizations_url":"https://api.github.com/users/naomiblack/orgs","repos_url":"https://api.github.com/users/naomiblack/repos","events_url":"https://api.github.com/users/naomiblack/events{/privacy}","received_events_url":"https://api.github.com/users/naomiblack/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T13:43:40Z","updated_at":"2015-04-08T13:43:40Z","body":"Related: https://github.com/angular/angular/issues/1083"}}