{"action":"created","issue":{"url":"https://api.github.com/repos/rails/rails/issues/32246","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/32246/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/32246/comments","events_url":"https://api.github.com/repos/rails/rails/issues/32246/events","html_url":"https://github.com/rails/rails/issues/32246","id":305022319,"number":32246,"title":"ActiveStorage direct upload events other than initialize not working in Firefox","user":{"login":"dwightwatson","id":1100408,"avatar_url":"https://avatars3.githubusercontent.com/u/1100408?v=4","gravatar_id":"","url":"https://api.github.com/users/dwightwatson","html_url":"https://github.com/dwightwatson","followers_url":"https://api.github.com/users/dwightwatson/followers","following_url":"https://api.github.com/users/dwightwatson/following{/other_user}","gists_url":"https://api.github.com/users/dwightwatson/gists{/gist_id}","starred_url":"https://api.github.com/users/dwightwatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwightwatson/subscriptions","organizations_url":"https://api.github.com/users/dwightwatson/orgs","repos_url":"https://api.github.com/users/dwightwatson/repos","events_url":"https://api.github.com/users/dwightwatson/events{/privacy}","received_events_url":"https://api.github.com/users/dwightwatson/received_events","type":"User","site_admin":false},"labels":[{"id":664533972,"url":"https://api.github.com/repos/rails/rails/labels/activestorage","name":"activestorage","color":"bfd4f2","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-14T04:50:19Z","updated_at":"2018-03-22T02:01:37Z","closed_at":"2018-03-22T02:01:37Z","author_association":"CONTRIBUTOR","body":"I think this might be a follow-on from #31393 where certain ActiveStorage events would not fire correctly in Firefox. There was a commit referenced - 21417e02e906f6b64f013aafefdc0cb8ea8b5e74 - that appears to have fixed the `direct-upload:initialize` event but I'm still not seeing the other events fire in Firefox.\r\n\r\n### Steps to reproduce\r\nSet up a form that uses the [example direct uploads script from the documentation](http://edgeguides.rubyonrails.org/active_storage_overview.html#example) and run it in Chrome and Firefox. \r\n\r\n### Expected behavior\r\nThe progress indicators will appear and one-by-one fill until all attached files have been processed and the form submits in both browsers.\r\n\r\n### Actual behavior\r\nFirefox will show all the progress indicators but not update as any progress is made. Eventually the form will submit and it will be successful, but the user is left without any loading progress.\r\n\r\n### System configuration\r\n**Rails version**: Rails 5.2.0.rc1\r\n\r\n**Ruby version**: ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin17]\r\n"},"comment":{"url":"https://api.github.com/repos/rails/rails/issues/comments/375153978","html_url":"https://github.com/rails/rails/issues/32246#issuecomment-375153978","issue_url":"https://api.github.com/repos/rails/rails/issues/32246","id":375153978,"user":{"login":"dwightwatson","id":1100408,"avatar_url":"https://avatars3.githubusercontent.com/u/1100408?v=4","gravatar_id":"","url":"https://api.github.com/users/dwightwatson","html_url":"https://github.com/dwightwatson","followers_url":"https://api.github.com/users/dwightwatson/followers","following_url":"https://api.github.com/users/dwightwatson/following{/other_user}","gists_url":"https://api.github.com/users/dwightwatson/gists{/gist_id}","starred_url":"https://api.github.com/users/dwightwatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwightwatson/subscriptions","organizations_url":"https://api.github.com/users/dwightwatson/orgs","repos_url":"https://api.github.com/users/dwightwatson/repos","events_url":"https://api.github.com/users/dwightwatson/events{/privacy}","received_events_url":"https://api.github.com/users/dwightwatson/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T02:01:37Z","updated_at":"2018-03-22T02:01:37Z","author_association":"CONTRIBUTOR","body":"Just created a new fresh project and I can't replicate it either. I stripped the original project I noticed this issue on back to literally just ActiveStorage and the problem persists. I don't know what the cause is but it's definitely something on my end."}}
{"actor":{"display_login":"dwightwatson"}}