[Webkit-unassigned] [Bug 167281] New: Database file not removed for origins after deleting all databases

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 21 01:50:33 PST 2017


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

            Bug ID: 167281
           Summary: Database file not removed for origins after deleting
                    all databases
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: achristensen at apple.com, andersca at apple.com,
                    beidson at apple.com, darin at apple.com

I noticed this writing unit tests for new WebsiteData API in the GTK+ port. When DatabaseTracker::deleteDatabasesModifiedSince() is called with a min time, all databases for every origin are deleted. For each origin if all databases are removed DatabaseTracker::deleteOrigin() is called to remove also the origin database file. However, DatabaseTracker::deleteOrigin() returns early if the origin doesn't have databases and in this particular case it never has databases, because we have just removed them.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170121/9c41cf9c/attachment.html>


More information about the webkit-unassigned mailing list