NXP-11319 Improve compability between different browser about how file upload complete is detected