{"action":"opened","issue":{"url":"https://api.github.com/repos/browserhtml/browserhtml/issues/944","repository_url":"https://api.github.com/repos/browserhtml/browserhtml","labels_url":"https://api.github.com/repos/browserhtml/browserhtml/issues/944/labels{/name}","comments_url":"https://api.github.com/repos/browserhtml/browserhtml/issues/944/comments","events_url":"https://api.github.com/repos/browserhtml/browserhtml/issues/944/events","html_url":"https://github.com/browserhtml/browserhtml/issues/944","id":142362667,"number":944,"title":"If Servo, use window methods instead of mozContentEvent","user":{"login":"paulrouget","id":373579,"avatar_url":"https://avatars.githubusercontent.com/u/373579?v=3","gravatar_id":"","url":"https://api.github.com/users/paulrouget","html_url":"https://github.com/paulrouget","followers_url":"https://api.github.com/users/paulrouget/followers","following_url":"https://api.github.com/users/paulrouget/following{/other_user}","gists_url":"https://api.github.com/users/paulrouget/gists{/gist_id}","starred_url":"https://api.github.com/users/paulrouget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulrouget/subscriptions","organizations_url":"https://api.github.com/users/paulrouget/orgs","repos_url":"https://api.github.com/users/paulrouget/repos","events_url":"https://api.github.com/users/paulrouget/events{/privacy}","received_events_url":"https://api.github.com/users/paulrouget/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/browserhtml/browserhtml/labels/P1","name":"P1","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-21T14:19:19Z","updated_at":"2016-03-21T14:19:19Z","closed_at":null,"body":"In runtime.js, until we get a proper runtime, can we use:\r\n- `window.close()` for `Runtime.quit`\r\n- `window.minimize()` for `Runtime.minimize` (not implemented in Servo yet)\r\n- `window.location.reload()` for: `Runtime.reload`\r\n- `window.location.reload(true)` for: `Runtime.cleanReload`\r\n\r\nI'm not sure about fullscreen yet.\r\n\r\n@Gozala can you look at this? The Task thing in `runtime.js` is confusing me."}}