Project

General

Profile

Actions

Bug #230

closed

Clear DOM Storage needs to be adjusted for newer WebViews

Added by Soren Stoutner over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Next Release
Start date:
12/07/2017
Due date:
% Done:

0%

Estimated time:

Description

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.

Actions #1

Updated by Soren Stoutner over 5 years ago

  • Priority changed from 2 to Next Release
Actions #2

Updated by Soren Stoutner over 5 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 https://git.stoutner.com/?p=PrivacyBrowser.git;a=commitdiff;h=de29e5f5b80d44fdc50bbb21379db860a7c7dfa2.

Actions

Also available in: Atom PDF