{"action":"created","issue":{"url":"https://api.github.com/repos/kapouer/node-webkitgtk/issues/27","labels_url":"https://api.github.com/repos/kapouer/node-webkitgtk/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/kapouer/node-webkitgtk/issues/27/comments","events_url":"https://api.github.com/repos/kapouer/node-webkitgtk/issues/27/events","html_url":"https://github.com/kapouer/node-webkitgtk/issues/27","id":76903227,"number":27,"title":"a load error can still trigger ready and idle events","user":{"login":"kapouer","id":131406,"avatar_url":"https://avatars.githubusercontent.com/u/131406?v=3","gravatar_id":"","url":"https://api.github.com/users/kapouer","html_url":"https://github.com/kapouer","followers_url":"https://api.github.com/users/kapouer/followers","following_url":"https://api.github.com/users/kapouer/following{/other_user}","gists_url":"https://api.github.com/users/kapouer/gists{/gist_id}","starred_url":"https://api.github.com/users/kapouer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapouer/subscriptions","organizations_url":"https://api.github.com/users/kapouer/orgs","repos_url":"https://api.github.com/users/kapouer/repos","events_url":"https://api.github.com/users/kapouer/events{/privacy}","received_events_url":"https://api.github.com/users/kapouer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-16T00:31:13Z","updated_at":"2015-05-16T20:52:17Z","closed_at":null,"body":"Especially in the non-chaining API.\r\nSee https://github.com/kapouer/node-webkitgtk/issues/26 to reproduce.\r\n\r\nIs it something to keep or something that should not happen ?"},"comment":{"url":"https://api.github.com/repos/kapouer/node-webkitgtk/issues/comments/102690363","html_url":"https://github.com/kapouer/node-webkitgtk/issues/27#issuecomment-102690363","issue_url":"https://api.github.com/repos/kapouer/node-webkitgtk/issues/27","id":102690363,"user":{"login":"gchudnov","id":1832751,"avatar_url":"https://avatars.githubusercontent.com/u/1832751?v=3","gravatar_id":"","url":"https://api.github.com/users/gchudnov","html_url":"https://github.com/gchudnov","followers_url":"https://api.github.com/users/gchudnov/followers","following_url":"https://api.github.com/users/gchudnov/following{/other_user}","gists_url":"https://api.github.com/users/gchudnov/gists{/gist_id}","starred_url":"https://api.github.com/users/gchudnov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gchudnov/subscriptions","organizations_url":"https://api.github.com/users/gchudnov/orgs","repos_url":"https://api.github.com/users/gchudnov/repos","events_url":"https://api.github.com/users/gchudnov/events{/privacy}","received_events_url":"https://api.github.com/users/gchudnov/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T20:52:17Z","updated_at":"2015-05-16T20:52:17Z","body":"Right, it looks the `load callback function` is never called after the first failure.\r\n\r\nNo matter what type of API is used:\r\n```javascript\r\n  it('should not stall', function(done) {\r\n    var filePath = path.resolve(__dirname, './shots/outX.png');\r\n    WebKit().load(\"http://www.google.com/asdsad\").wait('idle').png(filePath, function(err) {\r\n      //\r\n    }).load(\"https://www.google.com/\").wait('idle').png(filePath, function(err) {\r\n      done(); // <---- never hits this line\r\n    });\r\n  });\r\n```"}}