[Webkit-unassigned] [Bug 250892] New: [Cocoa] Create a test for restoring database file in case of corrupted file of localStorage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 20 04:31:40 PST 2023


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

            Bug ID: 250892
           Summary: [Cocoa] Create a test for restoring database file in
                    case of corrupted file of localStorage
           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

We need a test to ensure the behavior is expected(restoring the data base file in case of corrupted file of localStorage). It can be an API test doing something like:
(1) making a malformed file (e.g. an empty file with name "localstorage") in LocalStorage directory
(2) creating a web view and loading a web page to store an item in localStorage
(3) creating a second web view and loading a web page with the same url to read the item from localStorage (to ensure the item is stored successfully)

Similar test exists for glib: https://github.com/WebKit/WebKit/pull/8716

-- 
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/20230120/bebd85cf/attachment.htm>


More information about the webkit-unassigned mailing list