{"action":"created","issue":{"url":"https://api.github.com/repos/tmpvar/jsdom/issues/1272","labels_url":"https://api.github.com/repos/tmpvar/jsdom/issues/1272/labels{/name}","comments_url":"https://api.github.com/repos/tmpvar/jsdom/issues/1272/comments","events_url":"https://api.github.com/repos/tmpvar/jsdom/issues/1272/events","html_url":"https://github.com/tmpvar/jsdom/issues/1272","id":113082769,"number":1272,"title":"Expose some method add files to a FileList","user":{"login":"Sebmaster","id":347870,"avatar_url":"https://avatars.githubusercontent.com/u/347870?v=3","gravatar_id":"","url":"https://api.github.com/users/Sebmaster","html_url":"https://github.com/Sebmaster","followers_url":"https://api.github.com/users/Sebmaster/followers","following_url":"https://api.github.com/users/Sebmaster/following{/other_user}","gists_url":"https://api.github.com/users/Sebmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/Sebmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sebmaster/subscriptions","organizations_url":"https://api.github.com/users/Sebmaster/orgs","repos_url":"https://api.github.com/users/Sebmaster/repos","events_url":"https://api.github.com/users/Sebmaster/events{/privacy}","received_events_url":"https://api.github.com/users/Sebmaster/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tmpvar/jsdom/labels/feature","name":"feature","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-23T19:14:23Z","updated_at":"2015-10-23T20:22:40Z","closed_at":null,"body":"FileList's are not writeable in the specs, but to make `input.files` testable, we'll need to implement a util method to modify it.\r\n\r\n/cc @cpojer "},"comment":{"url":"https://api.github.com/repos/tmpvar/jsdom/issues/comments/150680320","html_url":"https://github.com/tmpvar/jsdom/issues/1272#issuecomment-150680320","issue_url":"https://api.github.com/repos/tmpvar/jsdom/issues/1272","id":150680320,"user":{"login":"domenic","id":617481,"avatar_url":"https://avatars.githubusercontent.com/u/617481?v=3","gravatar_id":"","url":"https://api.github.com/users/domenic","html_url":"https://github.com/domenic","followers_url":"https://api.github.com/users/domenic/followers","following_url":"https://api.github.com/users/domenic/following{/other_user}","gists_url":"https://api.github.com/users/domenic/gists{/gist_id}","starred_url":"https://api.github.com/users/domenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenic/subscriptions","organizations_url":"https://api.github.com/users/domenic/orgs","repos_url":"https://api.github.com/users/domenic/repos","events_url":"https://api.github.com/users/domenic/events{/privacy}","received_events_url":"https://api.github.com/users/domenic/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T20:22:40Z","updated_at":"2015-10-23T20:22:40Z","body":"OK, so it sounds like there are a few potential issues:\r\n\r\n- FileList doesn't properly have indexed access working (bug)\r\n- There's no way to create FileList objects for testing (web platform feature gap).\r\n\r\nBut modifying inputEl.files is not the problem."}}