{"action":"created","comment":{"url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/comments/82017988","pull_request_review_id":2954752,"id":82017988,"diff_hunk":"@@ -0,0 +1,89 @@\n+function runTest(config, qualifier) {\n+    var testname = testnamePrefix( qualifier, config.keysystem )\n+                         + ', setmediakeys multiple times with different mediakeys';\n+\n+    var configuration = getSimpleConfigurationForContent( config.content );\n+\n+    if ( config.initDataType && config.initData ) {\n+        configuration.initDataTypes = [ config.initDataType ];\n+    }\n+\n+    async_test (function (test) {\n+        var _video = config.video,\n+            _access,\n+            _mediaKeys1,\n+            _mediaKeys2,\n+            fail;","path":"encrypted-media/scripts/setmediakeys-multiple-times-with-different-mediakeys.js","position":12,"original_position":16,"commit_id":"0d08864504e4c4d526ecb3e04f880d562cb3a4d6","original_commit_id":"fd5d1f377942c1e04e709d0d9c9099d1917674be","user":{"login":"mwatson2","id":7593867,"avatar_url":"https://avatars.githubusercontent.com/u/7593867?v=3","gravatar_id":"","url":"https://api.github.com/users/mwatson2","html_url":"https://github.com/mwatson2","followers_url":"https://api.github.com/users/mwatson2/followers","following_url":"https://api.github.com/users/mwatson2/following{/other_user}","gists_url":"https://api.github.com/users/mwatson2/gists{/gist_id}","starred_url":"https://api.github.com/users/mwatson2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwatson2/subscriptions","organizations_url":"https://api.github.com/users/mwatson2/orgs","repos_url":"https://api.github.com/users/mwatson2/repos","events_url":"https://api.github.com/users/mwatson2/events{/privacy}","received_events_url":"https://api.github.com/users/mwatson2/received_events","type":"User","site_admin":false},"body":"It is set to true or false based on whether one of the promises is resolved or rejected and then only tested in a downstream then function. So, I don't think it is necessary to initialize it.","created_at":"2016-10-05T16:48:34Z","updated_at":"2016-10-05T16:48:35Z","html_url":"https://github.com/w3c/web-platform-tests/pull/3795#discussion_r82017988","pull_request_url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/3795","_links":{"self":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/comments/82017988"},"html":{"href":"https://github.com/w3c/web-platform-tests/pull/3795#discussion_r82017988"},"pull_request":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/3795"}}},"pull_request":{"url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/3795","id":86269083,"html_url":"https://github.com/w3c/web-platform-tests/pull/3795","diff_url":"https://github.com/w3c/web-platform-tests/pull/3795.diff","patch_url":"https://github.com/w3c/web-platform-tests/pull/3795.patch","issue_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/3795","number":3795,"state":"open","locked":false,"title":"#3583 set media keys","user":{"login":"sukhmal","id":2286183,"avatar_url":"https://avatars.githubusercontent.com/u/2286183?v=3","gravatar_id":"","url":"https://api.github.com/users/sukhmal","html_url":"https://github.com/sukhmal","followers_url":"https://api.github.com/users/sukhmal/followers","following_url":"https://api.github.com/users/sukhmal/following{/other_user}","gists_url":"https://api.github.com/users/sukhmal/gists{/gist_id}","starred_url":"https://api.github.com/users/sukhmal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sukhmal/subscriptions","organizations_url":"https://api.github.com/users/sukhmal/orgs","repos_url":"https://api.github.com/users/sukhmal/repos","events_url":"https://api.github.com/users/sukhmal/events{/privacy}","received_events_url":"https://api.github.com/users/sukhmal/received_events","type":"User","site_admin":false},"body":"SetMediaKeys tests from https://github.com/w3c/web-platform-tests/issues/3583","created_at":"2016-09-22T01:48:19Z","updated_at":"2016-10-05T16:48:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"17e2b56d6c636e086e6791d02ef4231e9cb1b296","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/3795/commits","review_comments_url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/3795/comments","review_comment_url":"https://api.github.com/repos/w3c/web-platform-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/3795/comments","statuses_url":"https://api.github.com/repos/w3c/web-platform-tests/statuses/0d08864504e4c4d526ecb3e04f880d562cb3a4d6","head":{"label":"sukhmal:#3583_setMediaKeys","ref":"#3583_setMediaKeys","sha":"0d08864504e4c4d526ecb3e04f880d562cb3a4d6","user":{"login":"sukhmal","id":2286183,"avatar_url":"https://avatars.githubusercontent.com/u/2286183?v=3","gravatar_id":"","url":"https://api.github.com/users/sukhmal","html_url":"https://github.com/sukhmal","followers_url":"https://api.github.com/users/sukhmal/followers","following_url":"https://api.github.com/users/sukhmal/following{/other_user}","gists_url":"https://api.github.com/users/sukhmal/gists{/gist_id}","starred_url":"https://api.github.com/users/sukhmal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sukhmal/subscriptions","organizations_url":"https://api.github.com/users/sukhmal/orgs","repos_url":"https://api.github.com/users/sukhmal/repos","events_url":"https://api.github.com/users/sukhmal/events{/privacy}","received_events_url":"https://api.github.com/users/sukhmal/received_events","type":"User","site_admin":false},"repo":{"id":63086857,"name":"web-platform-tests","full_name":"sukhmal/web-platform-tests","owner":{"login":"sukhmal","id":2286183,"avatar_url":"https://avatars.githubusercontent.com/u/2286183?v=3","gravatar_id":"","url":"https://api.github.com/users/sukhmal","html_url":"https://github.com/sukhmal","followers_url":"https://api.github.com/users/sukhmal/followers","following_url":"https://api.github.com/users/sukhmal/following{/other_user}","gists_url":"https://api.github.com/users/sukhmal/gists{/gist_id}","starred_url":"https://api.github.com/users/sukhmal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sukhmal/subscriptions","organizations_url":"https://api.github.com/users/sukhmal/orgs","repos_url":"https://api.github.com/users/sukhmal/repos","events_url":"https://api.github.com/users/sukhmal/events{/privacy}","received_events_url":"https://api.github.com/users/sukhmal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sukhmal/web-platform-tests","description":"Test Suites for Web Platform specifications—including WHATWG, W3C and others","fork":true,"url":"https://api.github.com/repos/sukhmal/web-platform-tests","forks_url":"https://api.github.com/repos/sukhmal/web-platform-tests/forks","keys_url":"https://api.github.com/repos/sukhmal/web-platform-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sukhmal/web-platform-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sukhmal/web-platform-tests/teams","hooks_url":"https://api.github.com/repos/sukhmal/web-platform-tests/hooks","issue_events_url":"https://api.github.com/repos/sukhmal/web-platform-tests/issues/events{/number}","events_url":"https://api.github.com/repos/sukhmal/web-platform-tests/events","assignees_url":"https://api.github.com/repos/sukhmal/web-platform-tests/assignees{/user}","branches_url":"https://api.github.com/repos/sukhmal/web-platform-tests/branches{/branch}","tags_url":"https://api.github.com/repos/sukhmal/web-platform-tests/tags","blobs_url":"https://api.github.com/repos/sukhmal/web-platform-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sukhmal/web-platform-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sukhmal/web-platform-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/sukhmal/web-platform-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sukhmal/web-platform-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/sukhmal/web-platform-tests/languages","stargazers_url":"https://api.github.com/repos/sukhmal/web-platform-tests/stargazers","contributors_url":"https://api.github.com/repos/sukhmal/web-platform-tests/contributors","subscribers_url":"https://api.github.com/repos/sukhmal/web-platform-tests/subscribers","subscription_url":"https://api.github.com/repos/sukhmal/web-platform-tests/subscription","commits_url":"https://api.github.com/repos/sukhmal/web-platform-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/sukhmal/web-platform-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/sukhmal/web-platform-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/sukhmal/web-platform-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/sukhmal/web-platform-tests/contents/{+path}","compare_url":"https://api.github.com/repos/sukhmal/web-platform-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sukhmal/web-platform-tests/merges","archive_url":"https://api.github.com/repos/sukhmal/web-platform-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sukhmal/web-platform-tests/downloads","issues_url":"https://api.github.com/repos/sukhmal/web-platform-tests/issues{/number}","pulls_url":"https://api.github.com/repos/sukhmal/web-platform-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/sukhmal/web-platform-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/sukhmal/web-platform-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sukhmal/web-platform-tests/labels{/name}","releases_url":"https://api.github.com/repos/sukhmal/web-platform-tests/releases{/id}","deployments_url":"https://api.github.com/repos/sukhmal/web-platform-tests/deployments","created_at":"2016-07-11T17:09:55Z","updated_at":"2016-07-11T17:10:22Z","pushed_at":"2016-09-28T19:41:39Z","git_url":"git://github.com/sukhmal/web-platform-tests.git","ssh_url":"git@github.com:sukhmal/web-platform-tests.git","clone_url":"https://github.com/sukhmal/web-platform-tests.git","svn_url":"https://github.com/sukhmal/web-platform-tests","homepage":"http://irc.w3.org/?channels=testing","size":166002,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"w3c:master","ref":"master","sha":"77fbd7153fe9aa51f935c6aac208f4e6ce6cd8d0","user":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"repo":{"id":3618133,"name":"web-platform-tests","full_name":"w3c/web-platform-tests","owner":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/w3c/web-platform-tests","description":"Test Suites for Web Platform specifications—including WHATWG, W3C and others","fork":false,"url":"https://api.github.com/repos/w3c/web-platform-tests","forks_url":"https://api.github.com/repos/w3c/web-platform-tests/forks","keys_url":"https://api.github.com/repos/w3c/web-platform-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w3c/web-platform-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w3c/web-platform-tests/teams","hooks_url":"https://api.github.com/repos/w3c/web-platform-tests/hooks","issue_events_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/events{/number}","events_url":"https://api.github.com/repos/w3c/web-platform-tests/events","assignees_url":"https://api.github.com/repos/w3c/web-platform-tests/assignees{/user}","branches_url":"https://api.github.com/repos/w3c/web-platform-tests/branches{/branch}","tags_url":"https://api.github.com/repos/w3c/web-platform-tests/tags","blobs_url":"https://api.github.com/repos/w3c/web-platform-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w3c/web-platform-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w3c/web-platform-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/w3c/web-platform-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w3c/web-platform-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/w3c/web-platform-tests/languages","stargazers_url":"https://api.github.com/repos/w3c/web-platform-tests/stargazers","contributors_url":"https://api.github.com/repos/w3c/web-platform-tests/contributors","subscribers_url":"https://api.github.com/repos/w3c/web-platform-tests/subscribers","subscription_url":"https://api.github.com/repos/w3c/web-platform-tests/subscription","commits_url":"https://api.github.com/repos/w3c/web-platform-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/w3c/web-platform-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/w3c/web-platform-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/w3c/web-platform-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/w3c/web-platform-tests/contents/{+path}","compare_url":"https://api.github.com/repos/w3c/web-platform-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w3c/web-platform-tests/merges","archive_url":"https://api.github.com/repos/w3c/web-platform-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w3c/web-platform-tests/downloads","issues_url":"https://api.github.com/repos/w3c/web-platform-tests/issues{/number}","pulls_url":"https://api.github.com/repos/w3c/web-platform-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/w3c/web-platform-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/w3c/web-platform-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w3c/web-platform-tests/labels{/name}","releases_url":"https://api.github.com/repos/w3c/web-platform-tests/releases{/id}","deployments_url":"https://api.github.com/repos/w3c/web-platform-tests/deployments","created_at":"2012-03-04T12:58:11Z","updated_at":"2016-09-29T22:51:56Z","pushed_at":"2016-10-05T16:39:28Z","git_url":"git://github.com/w3c/web-platform-tests.git","ssh_url":"git@github.com:w3c/web-platform-tests.git","clone_url":"https://github.com/w3c/web-platform-tests.git","svn_url":"https://github.com/w3c/web-platform-tests","homepage":"http://irc.w3.org/?channels=testing","size":336798,"stargazers_count":857,"watchers_count":857,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":929,"mirror_url":null,"open_issues_count":392,"forks":929,"open_issues":392,"watchers":857,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/3795"},"html":{"href":"https://github.com/w3c/web-platform-tests/pull/3795"},"issue":{"href":"https://api.github.com/repos/w3c/web-platform-tests/issues/3795"},"comments":{"href":"https://api.github.com/repos/w3c/web-platform-tests/issues/3795/comments"},"review_comments":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/3795/comments"},"review_comment":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/w3c/web-platform-tests/pulls/3795/commits"},"statuses":{"href":"https://api.github.com/repos/w3c/web-platform-tests/statuses/0d08864504e4c4d526ecb3e04f880d562cb3a4d6"}}}}
{"actor":{"display_login":"mwatson2"}}