{"action":"opened","issue":{"url":"https://api.github.com/repos/electron/electron/issues/12159","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/12159/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/12159/comments","events_url":"https://api.github.com/repos/electron/electron/issues/12159/events","html_url":"https://github.com/electron/electron/issues/12159","id":303191548,"number":12159,"title":"webFrame.executeJavaScript(InIsolatedWorld) APIs don't return promises","user":{"login":"bughit","id":895588,"avatar_url":"https://avatars3.githubusercontent.com/u/895588?v=4","gravatar_id":"","url":"https://api.github.com/users/bughit","html_url":"https://github.com/bughit","followers_url":"https://api.github.com/users/bughit/followers","following_url":"https://api.github.com/users/bughit/following{/other_user}","gists_url":"https://api.github.com/users/bughit/gists{/gist_id}","starred_url":"https://api.github.com/users/bughit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bughit/subscriptions","organizations_url":"https://api.github.com/users/bughit/orgs","repos_url":"https://api.github.com/users/bughit/repos","events_url":"https://api.github.com/users/bughit/events{/privacy}","received_events_url":"https://api.github.com/users/bughit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-07T17:33:01Z","updated_at":"2018-03-07T17:33:01Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"* Electron version: recent master (dfa1dc43df17037df68b5f39ca7c3c2bb424e9c1)\r\n* Operating system: win7 sp1 x64\r\n\r\n### Expected behavior\r\n\r\n[Docs](https://github.com/electron/electron/blob/master/docs/api/web-frame.md) say they return  promises.\r\n\r\nHowever since they don't and execution is synchronous, this is an opportunity to change the behavior without breaking anything.  They should return the result. \r\n\r\n### Actual behavior\r\n\r\nthey return undefined\r\n\r\n### How to reproduce\r\n\r\ncall the api\r\n"}}
{"actor":{"display_login":"bughit"}}