Ghost.py icon indicating copy to clipboard operation
Ghost.py copied to clipboard

HTML5 web storage does not work

Open ablegao opened this issue 10 years ago • 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.

ablegao avatar Dec 21 '15 10:12 ablegao

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

EvaSDK avatar Mar 02 '18 16:03 EvaSDK

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

EvaSDK avatar Mar 02 '18 16:03 EvaSDK