RESOLVED FIXED 250892
[Cocoa] Add test coverage for corrupted LocalStorage database
https://bugs.webkit.org/show_bug.cgi?id=250892
Summary [Cocoa] Add test coverage for corrupted LocalStorage database
Przemyslaw Gorszkowski
Reported 2023-01-20 04:31:40 PST
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
Attachments
Radar WebKit Bug Importer
Comment 1 2023-01-27 04:32:17 PST
Sihui Liu
Comment 2 2023-03-24 15:52:15 PDT
EWS
Comment 3 2023-03-27 11:06:35 PDT
Committed 262161@main (ce073e6cdcf1): <https://commits.webkit.org/262161@main> Reviewed commits have been landed. Closing PR #11953 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.