[Webkit-unassigned] [Bug 215386] New: IndexedDB used storage is not decreases even after clearing off the records

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 11 12:02:35 PDT 2020


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

            Bug ID: 215386
           Summary: IndexedDB used storage is not decreases even after
                    clearing off the records
           Product: WebKit
           Version: Safari 13
          Hardware: Macintosh
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sardeeplakhera at gmail.com

Created attachment 406400

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

IndexedDB sample example

Hello Team,

I am trying to write 500 MB data to the IndexedDB on Safari (Version 13.1 (15609.1.20.111.8)). 
Once I add the data, I then cleared the data and repeat the process. Safari storage quota is around 1.2GB, post that it prompt user to allow the website to use more storage.
My expectation is once I cleared the data, my website should again have 1.2GB of space and there should be no prompt to the user. But after few iteration, I can see the prompt to use more storage. If the user denies, any write to the IndexedDB fails even after clearing off all the data.
It only works again only if I delete the database and reload the page.

Steps to Reproduce:
1. Download the attached webpage.
2. Click on the 'Open DB' button.
3. Click on the 'Add 500 MB data' button.
4. Click on the 'Clear all records' button.
5. Repeat step 3-4 few times.

I am using the native javascript IndexedDB library.

-- 
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/20200811/6f96b103/attachment.htm>


More information about the webkit-unassigned mailing list