{"action":"opened","issue":{"url":"https://api.github.com/repos/google/shaka-player/issues/177","labels_url":"https://api.github.com/repos/google/shaka-player/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/google/shaka-player/issues/177/comments","events_url":"https://api.github.com/repos/google/shaka-player/issues/177/events","html_url":"https://github.com/google/shaka-player/issues/177","id":105671127,"number":177,"title":"EME manager repeats first config instead of testing all configs","user":{"login":"joeyparrish","id":6843156,"avatar_url":"https://avatars.githubusercontent.com/u/6843156?v=3","gravatar_id":"","url":"https://api.github.com/users/joeyparrish","html_url":"https://github.com/joeyparrish","followers_url":"https://api.github.com/users/joeyparrish/followers","following_url":"https://api.github.com/users/joeyparrish/following{/other_user}","gists_url":"https://api.github.com/users/joeyparrish/gists{/gist_id}","starred_url":"https://api.github.com/users/joeyparrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeyparrish/subscriptions","organizations_url":"https://api.github.com/users/joeyparrish/orgs","repos_url":"https://api.github.com/users/joeyparrish/repos","events_url":"https://api.github.com/users/joeyparrish/events{/privacy}","received_events_url":"https://api.github.com/users/joeyparrish/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/shaka-player/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"joeyparrish","id":6843156,"avatar_url":"https://avatars.githubusercontent.com/u/6843156?v=3","gravatar_id":"","url":"https://api.github.com/users/joeyparrish","html_url":"https://github.com/joeyparrish","followers_url":"https://api.github.com/users/joeyparrish/followers","following_url":"https://api.github.com/users/joeyparrish/following{/other_user}","gists_url":"https://api.github.com/users/joeyparrish/gists{/gist_id}","starred_url":"https://api.github.com/users/joeyparrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeyparrish/subscriptions","organizations_url":"https://api.github.com/users/joeyparrish/orgs","repos_url":"https://api.github.com/users/joeyparrish/repos","events_url":"https://api.github.com/users/joeyparrish/events{/privacy}","received_events_url":"https://api.github.com/users/joeyparrish/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/google/shaka-player/milestones/6","html_url":"https://github.com/google/shaka-player/milestones/v1.5.0","labels_url":"https://api.github.com/repos/google/shaka-player/milestones/6/labels","id":1189835,"number":6,"title":"v1.5.0","description":"Feature release: AdaptationSet `@group` support, integration with EME 'keystatuseschange' events, improved ContentProtection interpretation API, new player configuration API, text styling, ChromeCast demo.","creator":{"login":"joeyparrish","id":6843156,"avatar_url":"https://avatars.githubusercontent.com/u/6843156?v=3","gravatar_id":"","url":"https://api.github.com/users/joeyparrish","html_url":"https://github.com/joeyparrish","followers_url":"https://api.github.com/users/joeyparrish/followers","following_url":"https://api.github.com/users/joeyparrish/following{/other_user}","gists_url":"https://api.github.com/users/joeyparrish/gists{/gist_id}","starred_url":"https://api.github.com/users/joeyparrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeyparrish/subscriptions","organizations_url":"https://api.github.com/users/joeyparrish/orgs","repos_url":"https://api.github.com/users/joeyparrish/repos","events_url":"https://api.github.com/users/joeyparrish/events{/privacy}","received_events_url":"https://api.github.com/users/joeyparrish/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":27,"state":"open","created_at":"2015-07-01T23:06:16Z","updated_at":"2015-09-09T19:48:11Z","due_on":"2015-08-15T07:00:00Z","closed_at":null},"comments":0,"created_at":"2015-09-09T19:48:11Z","updated_at":"2015-09-09T19:48:11Z","closed_at":null,"body":"If there are multiple key systems specified with multiple configs, the EME manager queries the first config repeatedly.  This is due to a bug in buildKeySystemPromiseChain_ where a closure inside a loop captures references instead of values.\r\n\r\nThis bug has existed since v1.2.0.  The code was introduced in b092231 and moved in 66d760e."}}