{"action":"created","issue":{"url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/issues/399","repository_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead","labels_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/issues/399/comments","events_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/issues/399/events","html_url":"https://github.com/DevExpress/testcafe-hammerhead/issues/399","id":131283209,"number":399,"title":"Node.replaceChild doesn't handle file input elements","user":{"login":"AndreyBelym","id":4479386,"avatar_url":"https://avatars.githubusercontent.com/u/4479386?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreyBelym","html_url":"https://github.com/AndreyBelym","followers_url":"https://api.github.com/users/AndreyBelym/followers","following_url":"https://api.github.com/users/AndreyBelym/following{/other_user}","gists_url":"https://api.github.com/users/AndreyBelym/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreyBelym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreyBelym/subscriptions","organizations_url":"https://api.github.com/users/AndreyBelym/orgs","repos_url":"https://api.github.com/users/AndreyBelym/repos","events_url":"https://api.github.com/users/AndreyBelym/events{/privacy}","received_events_url":"https://api.github.com/users/AndreyBelym/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/labels/AREA:%20client","name":"AREA: client","color":"fef2c0"},{"url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/labels/SYSTEM:%20sandbox","name":"SYSTEM: sandbox","color":"bfe5bf"},{"url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/labels/TYPE:%20proposal","name":"TYPE: proposal","color":"f7c6c7"}],"state":"open","locked":false,"assignee":{"login":"miherlosev","id":4133518,"avatar_url":"https://avatars.githubusercontent.com/u/4133518?v=3","gravatar_id":"","url":"https://api.github.com/users/miherlosev","html_url":"https://github.com/miherlosev","followers_url":"https://api.github.com/users/miherlosev/followers","following_url":"https://api.github.com/users/miherlosev/following{/other_user}","gists_url":"https://api.github.com/users/miherlosev/gists{/gist_id}","starred_url":"https://api.github.com/users/miherlosev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miherlosev/subscriptions","organizations_url":"https://api.github.com/users/miherlosev/orgs","repos_url":"https://api.github.com/users/miherlosev/repos","events_url":"https://api.github.com/users/miherlosev/events{/privacy}","received_events_url":"https://api.github.com/users/miherlosev/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-02-04T09:01:52Z","updated_at":"2016-02-04T13:04:14Z","closed_at":null,"body":"You can request upload for a file input, and the replace  it with another input with help of [Node.replaceChild](https://developer.mozilla.org/ru/docs/Web/API/Node.replaceChild) before submitting. In that case a value of the second input must be submitted, but hammerhead submits file selected in the first input. So we need to override replaceChild for file inputs just the way we are overriding Node.appendChild and Node.removeChild. "},"comment":{"url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/issues/comments/179822338","html_url":"https://github.com/DevExpress/testcafe-hammerhead/issues/399#issuecomment-179822338","issue_url":"https://api.github.com/repos/DevExpress/testcafe-hammerhead/issues/399","id":179822338,"user":{"login":"miherlosev","id":4133518,"avatar_url":"https://avatars.githubusercontent.com/u/4133518?v=3","gravatar_id":"","url":"https://api.github.com/users/miherlosev","html_url":"https://github.com/miherlosev","followers_url":"https://api.github.com/users/miherlosev/followers","following_url":"https://api.github.com/users/miherlosev/following{/other_user}","gists_url":"https://api.github.com/users/miherlosev/gists{/gist_id}","starred_url":"https://api.github.com/users/miherlosev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miherlosev/subscriptions","organizations_url":"https://api.github.com/users/miherlosev/orgs","repos_url":"https://api.github.com/users/miherlosev/repos","events_url":"https://api.github.com/users/miherlosev/events{/privacy}","received_events_url":"https://api.github.com/users/miherlosev/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T13:04:14Z","updated_at":"2016-02-04T13:04:14Z","body":"I am working on this"}}