Bug #230

Clear DOM Storage needs to be adjusted for newer WebViews

Added by Soren Stoutner almost 4 years ago. Updated almost 3 years ago.

Next Release
Start date:
Due date:
% Done:


Estimated time:


In older WebViews, DOM Storage files were located in `app_webview/Local Storage`. Somewhere between WebView 58 and 62 they changed the way things work. Now there are some files stored in `app_webview/Local Storage/localdb`, but they are in a different format than before. This makes the current detection method of whether the is currently anything in DOM Storage unaccurate.

Currently, when clearing DOM Storage using the option menu, the `app_webview/Local Storage` is removed. This will cause DOM Storage to fail until `Clear and Exit` is run.

Figuring out how to remedy the situation will require waiting until there is an emulator (that provides a shell with root access) that has the version of WebView that demonstrates this new behavior.



Updated by Soren Stoutner almost 3 years ago

  • Priority changed from 2 to Next Release

Updated by Soren Stoutner almost 3 years ago

  • Status changed from New to Closed

This problem has been solved by delaying the manual deletion of `app_webview/Local Storage` for 200 milliseconds, which gives `webStorage.deleteAllData()` time to complete.

Fixed in commit;a=commitdiff;h=de29e5f5b80d44fdc50bbb21379db860a7c7dfa2.

Also available in: Atom PDF