{"action":"created","issue":{"url":"https://api.github.com/repos/macbre/phantomas/issues/482","labels_url":"https://api.github.com/repos/macbre/phantomas/issues/482/labels{/name}","comments_url":"https://api.github.com/repos/macbre/phantomas/issues/482/comments","events_url":"https://api.github.com/repos/macbre/phantomas/issues/482/events","html_url":"https://github.com/macbre/phantomas/issues/482","id":55773611,"number":482,"title":"JS errors : calling native console.log() failed","user":{"login":"gmetais","id":498031,"avatar_url":"https://avatars.githubusercontent.com/u/498031?v=3","gravatar_id":"","url":"https://api.github.com/users/gmetais","html_url":"https://github.com/gmetais","followers_url":"https://api.github.com/users/gmetais/followers","following_url":"https://api.github.com/users/gmetais/following{/other_user}","gists_url":"https://api.github.com/users/gmetais/gists{/gist_id}","starred_url":"https://api.github.com/users/gmetais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmetais/subscriptions","organizations_url":"https://api.github.com/users/gmetais/orgs","repos_url":"https://api.github.com/users/gmetais/repos","events_url":"https://api.github.com/users/gmetais/events{/privacy}","received_events_url":"https://api.github.com/users/gmetais/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/macbre/phantomas/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/macbre/phantomas/milestones/22","html_url":"https://github.com/macbre/phantomas/milestones/v1.11","labels_url":"https://api.github.com/repos/macbre/phantomas/milestones/22/labels","id":1000171,"number":22,"title":"v1.11","description":"","creator":{"login":"macbre","id":1929317,"avatar_url":"https://avatars.githubusercontent.com/u/1929317?v=3","gravatar_id":"","url":"https://api.github.com/users/macbre","html_url":"https://github.com/macbre","followers_url":"https://api.github.com/users/macbre/followers","following_url":"https://api.github.com/users/macbre/following{/other_user}","gists_url":"https://api.github.com/users/macbre/gists{/gist_id}","starred_url":"https://api.github.com/users/macbre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macbre/subscriptions","organizations_url":"https://api.github.com/users/macbre/orgs","repos_url":"https://api.github.com/users/macbre/repos","events_url":"https://api.github.com/users/macbre/events{/privacy}","received_events_url":"https://api.github.com/users/macbre/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":10,"state":"closed","created_at":"2015-02-28T20:03:21Z","updated_at":"2015-06-06T17:19:12Z","due_on":"2015-06-06T22:00:00Z","closed_at":"2015-06-06T17:19:12Z"},"comments":5,"created_at":"2015-01-28T15:52:58Z","updated_at":"2015-06-15T10:26:04Z","closed_at":"2015-05-30T17:02:12Z","body":"Hi,\r\n\r\nPhantomas generates many errors when running on this page: http://www.lafermeduweb.net\r\nThe errors seems to be internal, but i've been struggling for 2 hours looking for the reason.\r\n\r\nHere is a part of the log in verbose mode:\r\n```\r\n15:49:52.925 JS error: Error: phantomas: calling native console.log() failed (\"TypeError: '[\"DOMqueriesByTagName\",\"%s (in %s)\",\"head\",\"#document\"]' is not a valid argument for 'Function.prototype.apply' (evaluating 'this.addOffender.apply')\")!\r\n15:49:52.925 Event jserror emitted\r\n15:49:52.925 Error: phantomas: calling native console.log() failed (\"TypeError: '[\"DOMqueriesByTagName\",\"%s (in %s)\",\"head\",\"#document\"]' is not a valid argument for 'Function.prototype.apply' (evaluating 'this.addOffender.apply')\")!\r\n15:49:52.926 Backtrace: sendMsg(): /Users/gaelmetais/Documents/GitHub/phantomas/core/scope.js @ 127 / addOffender(): /Users/gaelmetais/Documents/GitHub/phantomas/core/scope.js @ 157 / selectorTagNameSpy(): phantomjs://webpage.evaluate() @ 35 / unknown fn: /Users/gaelmetais/Documents/GitHub/phantomas/core/scope.js @ 210 / unknown fn: http://static.lafermeduweb.net/js/fdw-min.js @ 1 / unknown fn: http://static.lafermeduweb.net/js/fdw-min.js @ 1\r\n```\r\n\r\nAny idea why it is failing?"},"comment":{"url":"https://api.github.com/repos/macbre/phantomas/issues/comments/112010859","html_url":"https://github.com/macbre/phantomas/issues/482#issuecomment-112010859","issue_url":"https://api.github.com/repos/macbre/phantomas/issues/482","id":112010859,"user":{"login":"gmetais","id":498031,"avatar_url":"https://avatars.githubusercontent.com/u/498031?v=3","gravatar_id":"","url":"https://api.github.com/users/gmetais","html_url":"https://github.com/gmetais","followers_url":"https://api.github.com/users/gmetais/followers","following_url":"https://api.github.com/users/gmetais/following{/other_user}","gists_url":"https://api.github.com/users/gmetais/gists{/gist_id}","starred_url":"https://api.github.com/users/gmetais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmetais/subscriptions","organizations_url":"https://api.github.com/users/gmetais/orgs","repos_url":"https://api.github.com/users/gmetais/repos","events_url":"https://api.github.com/users/gmetais/events{/privacy}","received_events_url":"https://api.github.com/users/gmetais/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T10:26:04Z","updated_at":"2015-06-15T10:26:04Z","body":"Awesome, thank you!"}}