{"action":"created","issue":{"url":"https://api.github.com/repos/kkapsner/CanvasBlocker/issues/96","repository_url":"https://api.github.com/repos/kkapsner/CanvasBlocker","labels_url":"https://api.github.com/repos/kkapsner/CanvasBlocker/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/kkapsner/CanvasBlocker/issues/96/comments","events_url":"https://api.github.com/repos/kkapsner/CanvasBlocker/issues/96/events","html_url":"https://github.com/kkapsner/CanvasBlocker/issues/96","id":197503598,"number":96,"title":"Uncatchable error on reading toDataURL from webgl context","user":{"login":"DocumentRoot","id":1578169,"avatar_url":"https://avatars.githubusercontent.com/u/1578169?v=3","gravatar_id":"","url":"https://api.github.com/users/DocumentRoot","html_url":"https://github.com/DocumentRoot","followers_url":"https://api.github.com/users/DocumentRoot/followers","following_url":"https://api.github.com/users/DocumentRoot/following{/other_user}","gists_url":"https://api.github.com/users/DocumentRoot/gists{/gist_id}","starred_url":"https://api.github.com/users/DocumentRoot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DocumentRoot/subscriptions","organizations_url":"https://api.github.com/users/DocumentRoot/orgs","repos_url":"https://api.github.com/users/DocumentRoot/repos","events_url":"https://api.github.com/users/DocumentRoot/events{/privacy}","received_events_url":"https://api.github.com/users/DocumentRoot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-25T14:40:56Z","updated_at":"2016-12-25T22:17:06Z","closed_at":null,"body":"Hey\r\n\r\nOn reading toDataURL from gl.canvas with enabled `fake readout API` or `fake at input` i got webgl error\r\n\r\n> Error: WebGL: readPixels: \\`pixels\\` type does not match \\`type\\`. \r\n\r\nIt doesn't stop script execution, but produce lag up to 400 ms, and it cannot be catched.\r\n\r\n\r\n\r\n\r\n```\r\n<script>\r\n\r\nvar t1 = performance.now();\r\n\r\ntry {\r\n    var canvas = document.createElement(\"canvas\");\r\n    var gl = canvas.getContext(\"webgl\");\r\n\r\n    // occurs even with empty canvas\r\n\r\n    var dataUrl = gl.canvas.toDataURL();\r\n}\r\ncatch(err) {\r\n    console.log('catch', err);\r\n}\r\n\r\nvar t2 = performance.now()\r\nconsole.log('time %s ms', t2-t1);\r\n\r\n</script>\r\n```"},"comment":{"url":"https://api.github.com/repos/kkapsner/CanvasBlocker/issues/comments/269139533","html_url":"https://github.com/kkapsner/CanvasBlocker/issues/96#issuecomment-269139533","issue_url":"https://api.github.com/repos/kkapsner/CanvasBlocker/issues/96","id":269139533,"user":{"login":"kkapsner","id":1105157,"avatar_url":"https://avatars.githubusercontent.com/u/1105157?v=3","gravatar_id":"","url":"https://api.github.com/users/kkapsner","html_url":"https://github.com/kkapsner","followers_url":"https://api.github.com/users/kkapsner/followers","following_url":"https://api.github.com/users/kkapsner/following{/other_user}","gists_url":"https://api.github.com/users/kkapsner/gists{/gist_id}","starred_url":"https://api.github.com/users/kkapsner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkapsner/subscriptions","organizations_url":"https://api.github.com/users/kkapsner/orgs","repos_url":"https://api.github.com/users/kkapsner/repos","events_url":"https://api.github.com/users/kkapsner/events{/privacy}","received_events_url":"https://api.github.com/users/kkapsner/received_events","type":"User","site_admin":false},"created_at":"2016-12-25T22:17:06Z","updated_at":"2016-12-25T22:17:06Z","body":"This has due to changed behaviour of FF. I rember checking that and it worked.\r\n\r\nBut what ever... I know what's wrong and will fix it."}}
{"actor":{"display_login":"kkapsner"}}