jeanphix/Ghost.py

HTML5 web storage does not work

Opened this issue · 2 comments

2015-12-21T18:47:22.395Z [WARNING ] Ghost<6ecb056a-1b88-4957-ad2e-d9757d694300>: https://h5.m.taobao.com/app/movie/mods/index.js(5): QuotaExceededError: DOM Exception 22: An attempt was made to add something to storage that exceeded the quota.

Looks like this site tried to use HTML5 web storage but current code explicitly enables and disables this at the same time: https://github.com/jeanphix/Ghost.py/blob/0.2.3/ghost/ghost.py#L400-L402

See also documentation http://doc.qt.io/archives/qt-4.8/qwebsettings.html#setObjectCacheCapacities

Also, the code was updated in commit 30d942d but this still does not allow any actual storage.