{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/781","repository_url":"https://api.github.com/repos/Microsoft/ChakraCore","labels_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/781/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/781/comments","events_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/781/events","html_url":"https://github.com/Microsoft/ChakraCore/pull/781","id":147608513,"number":781,"title":"OS:7112681 Promise callback handler code is not marked as being handled","user":{"login":"boingoing","id":1569843,"avatar_url":"https://avatars.githubusercontent.com/u/1569843?v=3","gravatar_id":"","url":"https://api.github.com/users/boingoing","html_url":"https://github.com/boingoing","followers_url":"https://api.github.com/users/boingoing/followers","following_url":"https://api.github.com/users/boingoing/following{/other_user}","gists_url":"https://api.github.com/users/boingoing/gists{/gist_id}","starred_url":"https://api.github.com/users/boingoing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boingoing/subscriptions","organizations_url":"https://api.github.com/users/boingoing/orgs","repos_url":"https://api.github.com/users/boingoing/repos","events_url":"https://api.github.com/users/boingoing/events{/privacy}","received_events_url":"https://api.github.com/users/boingoing/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/ChakraCore/labels/cla-not-required","name":"cla-not-required","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-12T01:57:56Z","updated_at":"2016-04-12T01:58:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Microsoft/ChakraCore/pulls/781","html_url":"https://github.com/Microsoft/ChakraCore/pull/781","diff_url":"https://github.com/Microsoft/ChakraCore/pull/781.diff","patch_url":"https://github.com/Microsoft/ChakraCore/pull/781.patch"},"body":"If that code throws, the exception gets propagated back to the host via ReportError which prints it into the console in Edge. We can fix this by setting a flag before calling into the callback code which indicates that the exception should be treated as handled and not handed back to the host. Also removes one dead function from JavascriptPromise.\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/comments/208662368","html_url":"https://github.com/Microsoft/ChakraCore/pull/781#issuecomment-208662368","issue_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/781","id":208662368,"user":{"login":"boingoing","id":1569843,"avatar_url":"https://avatars.githubusercontent.com/u/1569843?v=3","gravatar_id":"","url":"https://api.github.com/users/boingoing","html_url":"https://github.com/boingoing","followers_url":"https://api.github.com/users/boingoing/followers","following_url":"https://api.github.com/users/boingoing/following{/other_user}","gists_url":"https://api.github.com/users/boingoing/gists{/gist_id}","starred_url":"https://api.github.com/users/boingoing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boingoing/subscriptions","organizations_url":"https://api.github.com/users/boingoing/orgs","repos_url":"https://api.github.com/users/boingoing/repos","events_url":"https://api.github.com/users/boingoing/events{/privacy}","received_events_url":"https://api.github.com/users/boingoing/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T01:58:24Z","updated_at":"2016-04-12T01:58:24Z","body":"@Yongqu Can you take a look?"}}