{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/10441","repository_url":"https://api.github.com/repos/facebook/react","labels_url":"https://api.github.com/repos/facebook/react/issues/10441/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/10441/comments","events_url":"https://api.github.com/repos/facebook/react/issues/10441/events","html_url":"https://github.com/facebook/react/issues/10441","id":249669043,"number":10441,"title":"Cross-origin error passed to componentDidCatch incorrectly","user":{"login":"bvaughn","id":29597,"avatar_url":"https://avatars0.githubusercontent.com/u/29597?v=4","gravatar_id":"","url":"https://api.github.com/users/bvaughn","html_url":"https://github.com/bvaughn","followers_url":"https://api.github.com/users/bvaughn/followers","following_url":"https://api.github.com/users/bvaughn/following{/other_user}","gists_url":"https://api.github.com/users/bvaughn/gists{/gist_id}","starred_url":"https://api.github.com/users/bvaughn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvaughn/subscriptions","organizations_url":"https://api.github.com/users/bvaughn/orgs","repos_url":"https://api.github.com/users/bvaughn/repos","events_url":"https://api.github.com/users/bvaughn/events{/privacy}","received_events_url":"https://api.github.com/users/bvaughn/received_events","type":"User","site_admin":false},"labels":[{"id":127893911,"url":"https://api.github.com/repos/facebook/react/labels/Component:%20DOM","name":"Component: DOM","color":"fef2c0","default":false},{"id":710722093,"url":"https://api.github.com/repos/facebook/react/labels/Type:%20Needs%20Investigation","name":"Type: Needs Investigation","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"bvaughn","id":29597,"avatar_url":"https://avatars0.githubusercontent.com/u/29597?v=4","gravatar_id":"","url":"https://api.github.com/users/bvaughn","html_url":"https://github.com/bvaughn","followers_url":"https://api.github.com/users/bvaughn/followers","following_url":"https://api.github.com/users/bvaughn/following{/other_user}","gists_url":"https://api.github.com/users/bvaughn/gists{/gist_id}","starred_url":"https://api.github.com/users/bvaughn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvaughn/subscriptions","organizations_url":"https://api.github.com/users/bvaughn/orgs","repos_url":"https://api.github.com/users/bvaughn/repos","events_url":"https://api.github.com/users/bvaughn/events{/privacy}","received_events_url":"https://api.github.com/users/bvaughn/received_events","type":"User","site_admin":false},"assignees":[{"login":"bvaughn","id":29597,"avatar_url":"https://avatars0.githubusercontent.com/u/29597?v=4","gravatar_id":"","url":"https://api.github.com/users/bvaughn","html_url":"https://github.com/bvaughn","followers_url":"https://api.github.com/users/bvaughn/followers","following_url":"https://api.github.com/users/bvaughn/following{/other_user}","gists_url":"https://api.github.com/users/bvaughn/gists{/gist_id}","starred_url":"https://api.github.com/users/bvaughn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvaughn/subscriptions","organizations_url":"https://api.github.com/users/bvaughn/orgs","repos_url":"https://api.github.com/users/bvaughn/repos","events_url":"https://api.github.com/users/bvaughn/events{/privacy}","received_events_url":"https://api.github.com/users/bvaughn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":49,"created_at":"2017-08-11T15:25:18Z","updated_at":"2018-02-11T14:23:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"tl;dr React is passing \"A cross-origin error was thrown\" to `componentDidCatch` when there are no cross-origin scripts.\r\n\r\nSee [this discussion thread](https://github.com/facebook/react/pull/10353#issuecomment-321528685) and [this repro case](https://github.com/tessin/tessin-mini).\r\n\r\nI was able to confirm the behavior. A quick look at `onError` showed a null `event.error`."},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/364755248","html_url":"https://github.com/facebook/react/issues/10441#issuecomment-364755248","issue_url":"https://api.github.com/repos/facebook/react/issues/10441","id":364755248,"user":{"login":"herodrigues","id":1832537,"avatar_url":"https://avatars2.githubusercontent.com/u/1832537?v=4","gravatar_id":"","url":"https://api.github.com/users/herodrigues","html_url":"https://github.com/herodrigues","followers_url":"https://api.github.com/users/herodrigues/followers","following_url":"https://api.github.com/users/herodrigues/following{/other_user}","gists_url":"https://api.github.com/users/herodrigues/gists{/gist_id}","starred_url":"https://api.github.com/users/herodrigues/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herodrigues/subscriptions","organizations_url":"https://api.github.com/users/herodrigues/orgs","repos_url":"https://api.github.com/users/herodrigues/repos","events_url":"https://api.github.com/users/herodrigues/events{/privacy}","received_events_url":"https://api.github.com/users/herodrigues/received_events","type":"User","site_admin":false},"created_at":"2018-02-11T14:23:57Z","updated_at":"2018-02-11T14:23:57Z","author_association":"NONE","body":"@IanVS there was something wrong in my project. I developed a \"clean\" extension using React and everything is ok.\r\n\r\nhttps://github.com/herodrigues/chrome-react-minimal"}}
{"actor":{"display_login":"herodrigues"}}