[Webkit-unassigned] [Bug 245479] New: IOS16 Safari: LocalStorage is cleared after writing data of more than ~2.5MB

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 21 08:12:41 PDT 2022


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

            Bug ID: 245479
           Summary: IOS16 Safari: LocalStorage is cleared after writing
                    data of more than ~2.5MB
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: iOS 16
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Website Storage
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: alexey.buki at gmail.com
                CC: sihui_liu at apple.com

Created attachment 462504

  --> https://bugs.webkit.org/attachment.cgi?id=462504&action=review

test script that is shown the problem

IOS16 Safari: LocalStorage is cleared after writing data of more than ~2.5MB.

After upgrading on IOS 16 we were faced the problem clearing data in localStorage.When we try to write data that size is more than ~2.5MB or all amount of data more than ~2.5MB the LocalStorage is being cleared without any errors and warnings in Safari. I could not reproduce the problem in other browsers or platforms.

Step to reproduce:
- Go to IOS 16 Safari 
- Open any website
- try to write data more than ~2.5MB (the attached test script helps you to display the problem)
- check your localStorage

Actial result:
your localStorage is empty

Expected result:
your localStorage should be filled your data or it should be thrown an exception if quota is exceeded

Please consider the problem ASAP.

Thank you in advance!

-- 
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/20220921/bd5b576b/attachment.htm>


More information about the webkit-unassigned mailing list