javascript - Create arraybuffer from large Blob in Chrome -


i have simple method creating arraybuffer blob:

 var blob=somehowgetblob();  var reader = new filereader;  reader.onload = function () {          oncomplete(reader.result);     };     reader.onerror = function (err) {          switch (err.target["error"].code) {          case err.target["error"].not_found_err:               console.log("not found");               break;          case err.target["error"].not_readable_err:               console.log("not read");               break;          default:               console.log("default");               break;          };      };      reader.readasarraybuffer(blob); 

everything normal it's supposed , reader triggers onload event when ran in ie11,

in chrome normal if blob has small size (i tested 4mb), when tested using 90mb, triggers not_found_err,

is normal? or there workarounds? or bug in chrome?


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -