title: IE10 - base64-encoded image load error
body: <p>After uploading 10-20 images (~2MB, one by one in the synchronous loop) IE throws an error during loading the image from base64 string. I have in my code something like this:</p>
  
  <pre><code>var reader = new FileReader();
  reader.onload = function (e) {
    var img = new Image();
    img.onload = function () { console.log('onload'); /* some simple work with canvas */ };
    img.onerror = function () { console.log('onerror'); };
    img.src = e.target.result;
  };
  reader.readAsDataURL(file);
  </code></pre>
  
  <p>IE throws an error after some time and do not want to load more images. I have tried to use <code>setTimeout</code> but without success.</p>
  
  <p>Any ideas why it happens?</p>