{"action":"reopened","issue":{"url":"https://api.github.com/repos/atom/electron/issues/2149","labels_url":"https://api.github.com/repos/atom/electron/issues/2149/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/2149/comments","events_url":"https://api.github.com/repos/atom/electron/issues/2149/events","html_url":"https://github.com/atom/electron/issues/2149","id":93607343,"number":2149,"title":"window.close in WebView no longer fires close event","user":{"login":"paulcbetts","id":1396,"avatar_url":"https://avatars.githubusercontent.com/u/1396?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcbetts","html_url":"https://github.com/paulcbetts","followers_url":"https://api.github.com/users/paulcbetts/followers","following_url":"https://api.github.com/users/paulcbetts/following{/other_user}","gists_url":"https://api.github.com/users/paulcbetts/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcbetts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcbetts/subscriptions","organizations_url":"https://api.github.com/users/paulcbetts/orgs","repos_url":"https://api.github.com/users/paulcbetts/repos","events_url":"https://api.github.com/users/paulcbetts/events{/privacy}","received_events_url":"https://api.github.com/users/paulcbetts/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/electron/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/atom/electron/labels/webview","name":"webview","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-07T19:18:36Z","updated_at":"2015-07-13T20:31:19Z","closed_at":null,"body":"This worked in 0.28.3 but no longer works in 0.29.2 on Ubuntu where I tested it at least, working on a test for it at the moment:\r\n\r\n1. Create a WebView tag, load any page\r\n1. `$0.addEventListener('close', function() { console.log(\"It closed!\") });`\r\n1. `$0.openDevTools()`\r\n1. In dev tools: `window.close()`"}}