{"action":"created","comment":{"url":"https://api.github.com/repos/gpuweb/gpuweb/pulls/comments/169679403","pull_request_review_id":98244586,"id":169679403,"diff_hunk":"@@ -5,6 +5,17 @@ typedef long u32;\n // ****************************************************************************\n \n // Buffer\n+\n+callback WebGPUMappedMemorySuccessCallback = void (ArrayBuffer);\n+callback WebGPUMappedMemoryErrorCallback = void (DOMString);","path":"design/sketch.webidl","position":6,"original_position":6,"commit_id":"3390f7d81b64ce5b1594a4a44a83b06dd66157a0","original_commit_id":"3390f7d81b64ce5b1594a4a44a83b06dd66157a0","user":{"login":"dmikis","id":556359,"avatar_url":"https://avatars0.githubusercontent.com/u/556359?v=4","gravatar_id":"","url":"https://api.github.com/users/dmikis","html_url":"https://github.com/dmikis","followers_url":"https://api.github.com/users/dmikis/followers","following_url":"https://api.github.com/users/dmikis/following{/other_user}","gists_url":"https://api.github.com/users/dmikis/gists{/gist_id}","starred_url":"https://api.github.com/users/dmikis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmikis/subscriptions","organizations_url":"https://api.github.com/users/dmikis/orgs","repos_url":"https://api.github.com/users/dmikis/repos","events_url":"https://api.github.com/users/dmikis/events{/privacy}","received_events_url":"https://api.github.com/users/dmikis/received_events","type":"User","site_admin":false},"body":"`Error` (https://w3ctag.github.io/promises-guide/#reasons-should-be-errors)","created_at":"2018-02-21T15:43:55Z","updated_at":"2018-02-21T15:43:55Z","html_url":"https://github.com/gpuweb/gpuweb/pull/49#discussion_r169679403","pull_request_url":"https://api.github.com/repos/gpuweb/gpuweb/pulls/49","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/gpuweb/gpuweb/pulls/comments/169679403"},"html":{"href":"https://github.com/gpuweb/gpuweb/pull/49#discussion_r169679403"},"pull_request":{"href":"https://api.github.com/repos/gpuweb/gpuweb/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/gpuweb/gpuweb/pulls/49","id":170340035,"html_url":"https://github.com/gpuweb/gpuweb/pull/49","diff_url":"https://github.com/gpuweb/gpuweb/pull/49.diff","patch_url":"https://github.com/gpuweb/gpuweb/pull/49.patch","issue_url":"https://api.github.com/repos/gpuweb/gpuweb/issues/49","number":49,"state":"open","locked":false,"title":"Proposal for buffer mapping via `WebGPUMappedMemory`","user":{"login":"Kangz","id":472810,"avatar_url":"https://avatars3.githubusercontent.com/u/472810?v=4","gravatar_id":"","url":"https://api.github.com/users/Kangz","html_url":"https://github.com/Kangz","followers_url":"https://api.github.com/users/Kangz/followers","following_url":"https://api.github.com/users/Kangz/following{/other_user}","gists_url":"https://api.github.com/users/Kangz/gists{/gist_id}","starred_url":"https://api.github.com/users/Kangz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kangz/subscriptions","organizations_url":"https://api.github.com/users/Kangz/orgs","repos_url":"https://api.github.com/users/Kangz/repos","events_url":"https://api.github.com/users/Kangz/events{/privacy}","received_events_url":"https://api.github.com/users/Kangz/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-20T23:39:47Z","updated_at":"2018-02-21T15:43:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c49361b6b3594ed64664b1ee2ffe5f74fd01c8c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gpuweb/gpuweb/pulls/49/commits","review_comments_url":"https://api.github.com/repos/gpuweb/gpuweb/pulls/49/comments","review_comment_url":"https://api.github.com/repos/gpuweb/gpuweb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gpuweb/gpuweb/issues/49/comments","statuses_url":"https://api.github.com/repos/gpuweb/gpuweb/statuses/3390f7d81b64ce5b1594a4a44a83b06dd66157a0","head":{"label":"Kangz:map","ref":"map","sha":"3390f7d81b64ce5b1594a4a44a83b06dd66157a0","user":{"login":"Kangz","id":472810,"avatar_url":"https://avatars3.githubusercontent.com/u/472810?v=4","gravatar_id":"","url":"https://api.github.com/users/Kangz","html_url":"https://github.com/Kangz","followers_url":"https://api.github.com/users/Kangz/followers","following_url":"https://api.github.com/users/Kangz/following{/other_user}","gists_url":"https://api.github.com/users/Kangz/gists{/gist_id}","starred_url":"https://api.github.com/users/Kangz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kangz/subscriptions","organizations_url":"https://api.github.com/users/Kangz/orgs","repos_url":"https://api.github.com/users/Kangz/repos","events_url":"https://api.github.com/users/Kangz/events{/privacy}","received_events_url":"https://api.github.com/users/Kangz/received_events","type":"User","site_admin":false},"repo":{"id":122257301,"name":"gpuweb","full_name":"Kangz/gpuweb","owner":{"login":"Kangz","id":472810,"avatar_url":"https://avatars3.githubusercontent.com/u/472810?v=4","gravatar_id":"","url":"https://api.github.com/users/Kangz","html_url":"https://github.com/Kangz","followers_url":"https://api.github.com/users/Kangz/followers","following_url":"https://api.github.com/users/Kangz/following{/other_user}","gists_url":"https://api.github.com/users/Kangz/gists{/gist_id}","starred_url":"https://api.github.com/users/Kangz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kangz/subscriptions","organizations_url":"https://api.github.com/users/Kangz/orgs","repos_url":"https://api.github.com/users/Kangz/repos","events_url":"https://api.github.com/users/Kangz/events{/privacy}","received_events_url":"https://api.github.com/users/Kangz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kangz/gpuweb","description":"Where the GPU on the Web work happens!","fork":true,"url":"https://api.github.com/repos/Kangz/gpuweb","forks_url":"https://api.github.com/repos/Kangz/gpuweb/forks","keys_url":"https://api.github.com/repos/Kangz/gpuweb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kangz/gpuweb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kangz/gpuweb/teams","hooks_url":"https://api.github.com/repos/Kangz/gpuweb/hooks","issue_events_url":"https://api.github.com/repos/Kangz/gpuweb/issues/events{/number}","events_url":"https://api.github.com/repos/Kangz/gpuweb/events","assignees_url":"https://api.github.com/repos/Kangz/gpuweb/assignees{/user}","branches_url":"https://api.github.com/repos/Kangz/gpuweb/branches{/branch}","tags_url":"https://api.github.com/repos/Kangz/gpuweb/tags","blobs_url":"https://api.github.com/repos/Kangz/gpuweb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kangz/gpuweb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kangz/gpuweb/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kangz/gpuweb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kangz/gpuweb/statuses/{sha}","languages_url":"https://api.github.com/repos/Kangz/gpuweb/languages","stargazers_url":"https://api.github.com/repos/Kangz/gpuweb/stargazers","contributors_url":"https://api.github.com/repos/Kangz/gpuweb/contributors","subscribers_url":"https://api.github.com/repos/Kangz/gpuweb/subscribers","subscription_url":"https://api.github.com/repos/Kangz/gpuweb/subscription","commits_url":"https://api.github.com/repos/Kangz/gpuweb/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kangz/gpuweb/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kangz/gpuweb/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kangz/gpuweb/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kangz/gpuweb/contents/{+path}","compare_url":"https://api.github.com/repos/Kangz/gpuweb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kangz/gpuweb/merges","archive_url":"https://api.github.com/repos/Kangz/gpuweb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kangz/gpuweb/downloads","issues_url":"https://api.github.com/repos/Kangz/gpuweb/issues{/number}","pulls_url":"https://api.github.com/repos/Kangz/gpuweb/pulls{/number}","milestones_url":"https://api.github.com/repos/Kangz/gpuweb/milestones{/number}","notifications_url":"https://api.github.com/repos/Kangz/gpuweb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kangz/gpuweb/labels{/name}","releases_url":"https://api.github.com/repos/Kangz/gpuweb/releases{/id}","deployments_url":"https://api.github.com/repos/Kangz/gpuweb/deployments","created_at":"2018-02-20T21:15:39Z","updated_at":"2018-02-20T21:15:41Z","pushed_at":"2018-02-20T23:39:18Z","git_url":"git://github.com/Kangz/gpuweb.git","ssh_url":"git@github.com:Kangz/gpuweb.git","clone_url":"https://github.com/Kangz/gpuweb.git","svn_url":"https://github.com/Kangz/gpuweb","homepage":"","size":23,"stargazers_count":0,"watchers_count":0,"language":"WebIDL","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gpuweb:master","ref":"master","sha":"8ffe46f0aa74f949055625fa6c32b57fd00c57d9","user":{"login":"gpuweb","id":25571220,"avatar_url":"https://avatars0.githubusercontent.com/u/25571220?v=4","gravatar_id":"","url":"https://api.github.com/users/gpuweb","html_url":"https://github.com/gpuweb","followers_url":"https://api.github.com/users/gpuweb/followers","following_url":"https://api.github.com/users/gpuweb/following{/other_user}","gists_url":"https://api.github.com/users/gpuweb/gists{/gist_id}","starred_url":"https://api.github.com/users/gpuweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpuweb/subscriptions","organizations_url":"https://api.github.com/users/gpuweb/orgs","repos_url":"https://api.github.com/users/gpuweb/repos","events_url":"https://api.github.com/users/gpuweb/events{/privacy}","received_events_url":"https://api.github.com/users/gpuweb/received_events","type":"Organization","site_admin":false},"repo":{"id":81512059,"name":"gpuweb","full_name":"gpuweb/gpuweb","owner":{"login":"gpuweb","id":25571220,"avatar_url":"https://avatars0.githubusercontent.com/u/25571220?v=4","gravatar_id":"","url":"https://api.github.com/users/gpuweb","html_url":"https://github.com/gpuweb","followers_url":"https://api.github.com/users/gpuweb/followers","following_url":"https://api.github.com/users/gpuweb/following{/other_user}","gists_url":"https://api.github.com/users/gpuweb/gists{/gist_id}","starred_url":"https://api.github.com/users/gpuweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpuweb/subscriptions","organizations_url":"https://api.github.com/users/gpuweb/orgs","repos_url":"https://api.github.com/users/gpuweb/repos","events_url":"https://api.github.com/users/gpuweb/events{/privacy}","received_events_url":"https://api.github.com/users/gpuweb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gpuweb/gpuweb","description":"Where the GPU on the Web work happens!","fork":false,"url":"https://api.github.com/repos/gpuweb/gpuweb","forks_url":"https://api.github.com/repos/gpuweb/gpuweb/forks","keys_url":"https://api.github.com/repos/gpuweb/gpuweb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gpuweb/gpuweb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gpuweb/gpuweb/teams","hooks_url":"https://api.github.com/repos/gpuweb/gpuweb/hooks","issue_events_url":"https://api.github.com/repos/gpuweb/gpuweb/issues/events{/number}","events_url":"https://api.github.com/repos/gpuweb/gpuweb/events","assignees_url":"https://api.github.com/repos/gpuweb/gpuweb/assignees{/user}","branches_url":"https://api.github.com/repos/gpuweb/gpuweb/branches{/branch}","tags_url":"https://api.github.com/repos/gpuweb/gpuweb/tags","blobs_url":"https://api.github.com/repos/gpuweb/gpuweb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gpuweb/gpuweb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gpuweb/gpuweb/git/refs{/sha}","trees_url":"https://api.github.com/repos/gpuweb/gpuweb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gpuweb/gpuweb/statuses/{sha}","languages_url":"https://api.github.com/repos/gpuweb/gpuweb/languages","stargazers_url":"https://api.github.com/repos/gpuweb/gpuweb/stargazers","contributors_url":"https://api.github.com/repos/gpuweb/gpuweb/contributors","subscribers_url":"https://api.github.com/repos/gpuweb/gpuweb/subscribers","subscription_url":"https://api.github.com/repos/gpuweb/gpuweb/subscription","commits_url":"https://api.github.com/repos/gpuweb/gpuweb/commits{/sha}","git_commits_url":"https://api.github.com/repos/gpuweb/gpuweb/git/commits{/sha}","comments_url":"https://api.github.com/repos/gpuweb/gpuweb/comments{/number}","issue_comment_url":"https://api.github.com/repos/gpuweb/gpuweb/issues/comments{/number}","contents_url":"https://api.github.com/repos/gpuweb/gpuweb/contents/{+path}","compare_url":"https://api.github.com/repos/gpuweb/gpuweb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gpuweb/gpuweb/merges","archive_url":"https://api.github.com/repos/gpuweb/gpuweb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gpuweb/gpuweb/downloads","issues_url":"https://api.github.com/repos/gpuweb/gpuweb/issues{/number}","pulls_url":"https://api.github.com/repos/gpuweb/gpuweb/pulls{/number}","milestones_url":"https://api.github.com/repos/gpuweb/gpuweb/milestones{/number}","notifications_url":"https://api.github.com/repos/gpuweb/gpuweb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gpuweb/gpuweb/labels{/name}","releases_url":"https://api.github.com/repos/gpuweb/gpuweb/releases{/id}","deployments_url":"https://api.github.com/repos/gpuweb/gpuweb/deployments","created_at":"2017-02-10T01:17:35Z","updated_at":"2018-02-19T10:52:53Z","pushed_at":"2018-02-20T23:39:48Z","git_url":"git://github.com/gpuweb/gpuweb.git","ssh_url":"git@github.com:gpuweb/gpuweb.git","clone_url":"https://github.com/gpuweb/gpuweb.git","svn_url":"https://github.com/gpuweb/gpuweb","homepage":"","size":19,"stargazers_count":119,"watchers_count":119,"language":"WebIDL","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":35,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":6,"open_issues":35,"watchers":119,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gpuweb/gpuweb/pulls/49"},"html":{"href":"https://github.com/gpuweb/gpuweb/pull/49"},"issue":{"href":"https://api.github.com/repos/gpuweb/gpuweb/issues/49"},"comments":{"href":"https://api.github.com/repos/gpuweb/gpuweb/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/gpuweb/gpuweb/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/gpuweb/gpuweb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gpuweb/gpuweb/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/gpuweb/gpuweb/statuses/3390f7d81b64ce5b1594a4a44a83b06dd66157a0"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dmikis"}}