{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular.js/issues/16707","repository_url":"https://api.github.com/repos/angular/angular.js","labels_url":"https://api.github.com/repos/angular/angular.js/issues/16707/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/16707/comments","events_url":"https://api.github.com/repos/angular/angular.js/issues/16707/events","html_url":"https://github.com/angular/angular.js/issues/16707","id":365295155,"node_id":"MDU6SXNzdWUzNjUyOTUxNTU=","number":16707,"title":"Make ErrorConstructor more robust for DataCloneError (v1.7.4)","user":{"login":"binarykitchen","id":177641,"node_id":"MDQ6VXNlcjE3NzY0MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/177641?v=4","gravatar_id":"","url":"https://api.github.com/users/binarykitchen","html_url":"https://github.com/binarykitchen","followers_url":"https://api.github.com/users/binarykitchen/followers","following_url":"https://api.github.com/users/binarykitchen/following{/other_user}","gists_url":"https://api.github.com/users/binarykitchen/gists{/gist_id}","starred_url":"https://api.github.com/users/binarykitchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarykitchen/subscriptions","organizations_url":"https://api.github.com/users/binarykitchen/orgs","repos_url":"https://api.github.com/users/binarykitchen/repos","events_url":"https://api.github.com/users/binarykitchen/events{/privacy}","received_events_url":"https://api.github.com/users/binarykitchen/received_events","type":"User","site_admin":false},"labels":[{"id":69094385,"node_id":"MDU6TGFiZWw2OTA5NDM4NQ==","url":"https://api.github.com/repos/angular/angular.js/labels/resolution:%20can't%20reproduce","name":"resolution: can't reproduce","color":"0052cc","default":false},{"id":58561,"node_id":"MDU6TGFiZWw1ODU2MQ==","url":"https://api.github.com/repos/angular/angular.js/labels/type:%20bug","name":"type: bug","color":"000000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/angular/angular.js/milestones/145","html_url":"https://github.com/angular/angular.js/milestone/145","labels_url":"https://api.github.com/repos/angular/angular.js/milestones/145/labels","id":3352686,"node_id":"MDk6TWlsZXN0b25lMzM1MjY4Ng==","number":145,"title":"1.7.x - won't fix","description":"","creator":{"login":"petebacondarwin","id":15655,"node_id":"MDQ6VXNlcjE1NjU1","avatar_url":"https://avatars0.githubusercontent.com/u/15655?v=4","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"open_issues":41,"closed_issues":8,"state":"open","created_at":"2018-05-16T18:35:26Z","updated_at":"2018-10-10T18:47:54Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-10-01T03:14:33Z","updated_at":"2018-10-10T19:41:47Z","closed_at":null,"author_association":"NONE","body":"Seeing lots of those errors in my app:\r\n\r\n```\r\nUncaught DataCloneError: Failed to execute 'postMessage' on 'Window': function (){var paramPrefix,i,code=arguments[0],template=arguments[1],message=\\\"[\\\"+(module?module+\\\":\\\":\\\"\\\")+code+\\\"...<omitted>...)} could not be cloned.\r\n```\r\n\r\ncaused from user agent facebookexternalhit. After some examinations it turns out to happen inside the ErrorConstructor of v1.7.4 itself.\r\n\r\nI think the constructor itself should be more stable when an error inside occurs, probably with a try-catch block. My guess is the `toDebugString()` fn which calls the `serializeObject()` fn where this happens, where a cloning attempt is made and fails.\r\n\r\nThere I would make the code more robust."},"comment":{"url":"https://api.github.com/repos/angular/angular.js/issues/comments/428704735","html_url":"https://github.com/angular/angular.js/issues/16707#issuecomment-428704735","issue_url":"https://api.github.com/repos/angular/angular.js/issues/16707","id":428704735,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODcwNDczNQ==","user":{"login":"binarykitchen","id":177641,"node_id":"MDQ6VXNlcjE3NzY0MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/177641?v=4","gravatar_id":"","url":"https://api.github.com/users/binarykitchen","html_url":"https://github.com/binarykitchen","followers_url":"https://api.github.com/users/binarykitchen/followers","following_url":"https://api.github.com/users/binarykitchen/following{/other_user}","gists_url":"https://api.github.com/users/binarykitchen/gists{/gist_id}","starred_url":"https://api.github.com/users/binarykitchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarykitchen/subscriptions","organizations_url":"https://api.github.com/users/binarykitchen/orgs","repos_url":"https://api.github.com/users/binarykitchen/repos","events_url":"https://api.github.com/users/binarykitchen/events{/privacy}","received_events_url":"https://api.github.com/users/binarykitchen/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T19:41:47Z","updated_at":"2018-10-10T19:41:47Z","author_association":"NONE","body":"I hear you. Very difficult to debug or reproduce this scenario here. More weird is that this only happens with the facebookexternalhit user agent."}}
{"actor":{"display_login":"binarykitchen"}}