title: Html5 ajax file upload progress listener not triggering when upload 100% on Firefox
body: <p>I am uploading files over ajax and processing images after upload.
  When I tried upload image files over ajax on firefox , xhr progress event not triggering my progress function when upload percent do 100% but file was uploading successfully .</p>
  
  <p>Google chrome triggering when upload progress 100% but firefox doesn't.</p>
  
  <p>Biriefly my upload script :</p>
  
  <pre><code>$("#uploadbutton").click(function(){
     var xhr=new XMLHttpRequest()
     ,fd=new FormData();
  
     xhr.upload.addEventListener("loadstart", uploadStart, false);
     xhr.upload.addEventListener("progress", uploadProgress, false);
     xhr.addEventListener("error", uploadFailed, false);
  
     xhr.open("POST", mainurl+"ajaxupload.php");
  
     $.each($("#upload_input").files,function(i,file){
       fd.append("files_"+i,file);
     });    
  
    xhr.send(fd);
  
  });
  
  function uploadProgress(event){
     var percentComplete = Math.round(event.loaded * 100 / event.total);
     console.log("pecent ",percentComplete);
  }
  </code></pre>
  
  <p>When upload start , uploadProgress function runnig 1 times ( mostly when upload percent 80% ), but not triggering when upload fnish .</p>