html - Local storage in chrome -
i have javascript code save string local storage, string size 400000,
var dataurl = canvas.todataurl("image/jpg").tostring(); localstorage.setitem("dataurl", dataurl);
i open html file chrome, in 1 computer ok in other computer
uncaught quotaexceedederror: failed execute 'setitem' on 'storage': setting value of 'dataurl' exceeded quota.
in computer allowed save string length no more 100000 chars. both computers have same chrome's version 35.0.1916.114 m why?
the chrome local storage default 25m, clear chrome's local storage work it. luck!
Comments
Post a Comment