{"action":"created","issue":{"url":"https://api.github.com/repos/webrtc/adapter/issues/270","repository_url":"https://api.github.com/repos/webrtc/adapter","labels_url":"https://api.github.com/repos/webrtc/adapter/issues/270/labels{/name}","comments_url":"https://api.github.com/repos/webrtc/adapter/issues/270/comments","events_url":"https://api.github.com/repos/webrtc/adapter/issues/270/events","html_url":"https://github.com/webrtc/adapter/pull/270","id":148790277,"number":270,"title":"Do not modify input arguments","user":{"login":"jnoring","id":5577713,"avatar_url":"https://avatars.githubusercontent.com/u/5577713?v=3","gravatar_id":"","url":"https://api.github.com/users/jnoring","html_url":"https://github.com/jnoring","followers_url":"https://api.github.com/users/jnoring/followers","following_url":"https://api.github.com/users/jnoring/following{/other_user}","gists_url":"https://api.github.com/users/jnoring/gists{/gist_id}","starred_url":"https://api.github.com/users/jnoring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnoring/subscriptions","organizations_url":"https://api.github.com/users/jnoring/orgs","repos_url":"https://api.github.com/users/jnoring/repos","events_url":"https://api.github.com/users/jnoring/events{/privacy}","received_events_url":"https://api.github.com/users/jnoring/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webrtc/adapter/labels/cla:%20yes","name":"cla: yes","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-04-15T23:17:35Z","updated_at":"2016-04-18T15:08:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/webrtc/adapter/pulls/270","html_url":"https://github.com/webrtc/adapter/pull/270","diff_url":"https://github.com/webrtc/adapter/pull/270.diff","patch_url":"https://github.com/webrtc/adapter/pull/270.patch"},"body":"**Description**\r\n\r\nFor example, if we submitted constraints.video.deviceId to Chrome, once getUserMedia returned our constraints would have been modified to constraints.video.mandatory.sourceId\r\n\r\n**Purpose**\r\n\r\nIt's a party foul to modify input arguments, unless the spec mandates this behavior.  I don't believe it does."},"comment":{"url":"https://api.github.com/repos/webrtc/adapter/issues/comments/211420846","html_url":"https://github.com/webrtc/adapter/pull/270#issuecomment-211420846","issue_url":"https://api.github.com/repos/webrtc/adapter/issues/270","id":211420846,"user":{"login":"KaptenJansson","id":5872605,"avatar_url":"https://avatars.githubusercontent.com/u/5872605?v=3","gravatar_id":"","url":"https://api.github.com/users/KaptenJansson","html_url":"https://github.com/KaptenJansson","followers_url":"https://api.github.com/users/KaptenJansson/followers","following_url":"https://api.github.com/users/KaptenJansson/following{/other_user}","gists_url":"https://api.github.com/users/KaptenJansson/gists{/gist_id}","starred_url":"https://api.github.com/users/KaptenJansson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaptenJansson/subscriptions","organizations_url":"https://api.github.com/users/KaptenJansson/orgs","repos_url":"https://api.github.com/users/KaptenJansson/repos","events_url":"https://api.github.com/users/KaptenJansson/events{/privacy}","received_events_url":"https://api.github.com/users/KaptenJansson/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T15:08:44Z","updated_at":"2016-04-18T15:08:44Z","body":"LGTM"}}