title: Failed to execute 'readAsArrayBuffer' on 'FileReader': parameter 1 is not of type 'Blob'
body: <p>I've got a problem with a javascript Filereader which returns the error Uncaught TypeError: Failed to execute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'.</p>
  
  <p>Here's the javascript:</p>
  
  <pre><code>                    var blob = null;
                      var xhr = new XMLHttpRequest(); 
                      xhr.open("GET", "C:\\Users\\yw1kew\\Desktop\\LG_FRAME.plmx"); 
                      xhr.responseType = "blob";//force the HTTP response, response-type header to be blob
                      xhr.onload = function() 
                      {
                          blob = xhr.response;//xhr.response is now a blob object
                      }
                      xhr.send();
                      var myReader = new FileReader();
                      myReader.readAsArrayBuffer(blob) // THE CODE FAILS HERE
  </code></pre>
  
  <p>Any idea ? Thanks</p>