Since the recent Safari 11.1 update on macOS and iOS, as well as in Safari Technology Preview 11.2, the
$.ajax
calls in my web application are failing when a
input[type=file]
field has no file chosen (it isn't required in my form). No failure when the field
does have a file chosen.
see: https://stackoverflow.com/questions/49614091/safari-11-1-ajax-xhr-form-submission-fails-when-inputtype-file-is-empty
iOS 11.4 beta 6 still has this bug.
Fix it.