[Webkit-unassigned] [Bug 250470] New: Restore/recreate corrupted SQLite file of local storage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 11 11:51:46 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=250470

            Bug ID: 250470
           Summary: Restore/recreate corrupted SQLite file of local
                    storage
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: pgorszkowski at igalia.com

The problematic scenario:
1. Open any site with local storage (e.g.: http://www.sharonminsuk.com/code/storage-test.html)
2. Save some local storage value
3. Corrupt a SQLite file of the local storage for this site: (just find http_www.sharonminsuk.com_0.localstorage file and change it via "vi" tool)
4. Close browser
5. Open  site with local storage (e.g.: http://www.sharonminsuk.com/code/storage-test.html) again
6. The local storage value from the previous session is not available
7. Save some new local storage value
8. Close browser
9. Open  site with local storage (e.g.: http://www.sharonminsuk.com/code/storage-test.html) again
10. The local storage value from the previous session is not available
11. Close browser
12. Open  site with local storage (e.g.: http://www.sharonminsuk.com/code/storage-test.html) again
13. The local storage value from the previous session is available

As we can see we need two restarts of browser to fix saving of the local storage values.

There is a fix from wpe in version 2.28(https://github.com/WebPlatformForEmbedded/WPEWebKit/commit/c3dbb59a9972d31a8bef31090d74b8de2715966a) which can be adopted to new local storage implementation and fix the existing problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230111/227adcbf/attachment.htm>


More information about the webkit-unassigned mailing list