I recently updated my Chrome browser to version 83 and encountered some issues with certain forms that utilize an "Ajax upload" component. Despite researching the problems associated with this new version (https://developers.google.com/web/updates/2020/05/nic83), I was unable to find any information related to forms, iframes, files, ajax, or posts.
I plan to create a sample on Fiddler to demonstrate the issue, but I'm reaching out to see if anyone else has encountered similar difficulties.
Interestingly, I have another form using a multifile, drag-and-drop uploader (dropzone.js) that is functioning properly. However, converting it may not be simple, so a quick solution would be preferable.
A basic example (as I don't have a sandbox for testing uploads): https://jsfiddle.net/drvespa/7ue8k94r/3/
- In Chrome 83 (also tested in Canary version 85): no errors are thrown as the submission of the form is not caught by the AjaxUpload component. The callback function is being triggered before the submission completes, resulting in an empty response.
- In Firefox: an error occurs because the AjaxUpload component is attempting to deserialize the 404 error from the dummy upload page.
The library can be found at :
/**
* Ajax upload
* Project page - http://valums.com/ajax-upload/
* Copyright (c) 2008 Andris Valums, http://valums.com
* Licensed under the MIT license (http://valums.com/mit-license/)
* Version 3.6 (26.06.2009)
*/