{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/html/issues/924","repository_url":"https://api.github.com/repos/whatwg/html","labels_url":"https://api.github.com/repos/whatwg/html/issues/924/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/html/issues/924/comments","events_url":"https://api.github.com/repos/whatwg/html/issues/924/events","html_url":"https://github.com/whatwg/html/issues/924","id":142871247,"number":924,"title":"Provide a hook for Media Capture from HTMLCanvasElement","user":{"login":"foolip","id":498917,"avatar_url":"https://avatars.githubusercontent.com/u/498917?v=3","gravatar_id":"","url":"https://api.github.com/users/foolip","html_url":"https://github.com/foolip","followers_url":"https://api.github.com/users/foolip/followers","following_url":"https://api.github.com/users/foolip/following{/other_user}","gists_url":"https://api.github.com/users/foolip/gists{/gist_id}","starred_url":"https://api.github.com/users/foolip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foolip/subscriptions","organizations_url":"https://api.github.com/users/foolip/orgs","repos_url":"https://api.github.com/users/foolip/repos","events_url":"https://api.github.com/users/foolip/events{/privacy}","received_events_url":"https://api.github.com/users/foolip/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/whatwg/html/labels/topic:%20canvas","name":"topic: canvas","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-23T06:05:13Z","updated_at":"2016-03-23T10:46:45Z","closed_at":null,"body":"See https://github.com/w3c/mediacapture-fromelement/issues/29\r\n\r\nhttp://w3c.github.io/mediacapture-fromelement/ says \"A new frame is requested from the canvas when `frameCaptureRequested` is true and the canvas is painted.\"\r\n\r\nThe \"canvas is painted\" bit is not specific enough. I don't know the canvas element very well, but I think what is needed is a concept of when a canvas is committed, presumably at the earliest at a microtask checkpoint following some manipulation of the canvas. A hook at this point could be used by the Media Capture spec.\r\n\r\n@martinthomson @Pehrsons @uysalere @junov "},"comment":{"url":"https://api.github.com/repos/whatwg/html/issues/comments/200292583","html_url":"https://github.com/whatwg/html/issues/924#issuecomment-200292583","issue_url":"https://api.github.com/repos/whatwg/html/issues/924","id":200292583,"user":{"login":"annevk","id":1544111,"avatar_url":"https://avatars.githubusercontent.com/u/1544111?v=3","gravatar_id":"","url":"https://api.github.com/users/annevk","html_url":"https://github.com/annevk","followers_url":"https://api.github.com/users/annevk/followers","following_url":"https://api.github.com/users/annevk/following{/other_user}","gists_url":"https://api.github.com/users/annevk/gists{/gist_id}","starred_url":"https://api.github.com/users/annevk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annevk/subscriptions","organizations_url":"https://api.github.com/users/annevk/orgs","repos_url":"https://api.github.com/users/annevk/repos","events_url":"https://api.github.com/users/annevk/events{/privacy}","received_events_url":"https://api.github.com/users/annevk/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T10:46:45Z","updated_at":"2016-03-23T10:46:45Z","body":"Off-thread can also queue a microtask."}}