I think it might make more sense to just detect FormData support and always use it if it's present. That way we don't worry about looping through all of the data which could be a perf killer on a huge form with one file upload at the very end.