[Webkit-unassigned] [Bug 266559] Safari periodically erasing LocalStorage and IndexedDB for all websites
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Dec 24 18:36:03 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=266559
--- Comment #10 from Jeff Johnson <opendarwin at lapcatsoftware.com> ---
(In reply to John Wilander from comment #9)
> (In reply to Jeff Johnson from comment #8)
> > I've discovered semi-reliable steps to reproduce. The bug doesn't happen
> > every time, but it happens a lot of the time with these steps. Here's a
> > screen recording:
> Private Browsing Mode is ephemeral so storage will only exist in-memory and
> go away at browser restart or if the network process were to crash. Are you
> using Private Browsing Mode (I see you comment on new private window)? Does
> it reproduce in regular browsing mode?
It's all in the screen recording. ;-)
The bug reproduces in regular browsing mode. I have Safari set to open with a new private window, but as I said, that's nonessential. The steps to reproduce, in text:
1) Open http://www.sharonminsuk.com/code/storage-test.html in a non-private window
2) Store "testing" in Local storage
3) Open https://javascript.info/localstorage in a non-private window
4) Press the localStorage.setItem('test', 1) button
5) Quit Safari
6) Launch Safari
7) Open https://www.cnn.com (in a private or non-private window, doesn't matter)
8) Open a new non-private window
9) Open https://javascript.info/localstorage in the new window
10) Run the localStorage.getItem('test') and confirm that the value is 1
11) Close the https://javascript.info/localstorage window
12) Open the web inspector console in the cnn.com window
13) Scroll the page slowly down to the bottom and back up to the top again
14) Close the window
15) Open a new non-private window
16) Open http://www.sharonminsuk.com/code/storage-test.html
Expected results: "testing"
Actual results: nothing currently stored. Also, https://javascript.info/localstorage now returns null.
--
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/20231225/2cad320a/attachment.htm>
More information about the webkit-unassigned
mailing list