[Webkit-unassigned] [Bug 83253] New: [BlackBerry] Clear local storage won't take effect until browser exit and relaunch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 5 00:12:15 PDT 2012


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

           Summary: [BlackBerry] Clear local storage won't take effect
                    until browser exit and relaunch
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit BlackBerry
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jonathan.dong at torchmobile.com.cn
                CC: rwlbuis at gmail.com, staikos at kde.org,
                    charles.wei at torchmobile.com.cn, tonikitoo at webkit.org,
                    leo.yang at torchmobile.com.cn


RIM PR: #146871

way to reproduce:
1. goto http://html5demos.com/storage, enter something both in session storage
and local storage, then reload the page, you can see the session and local
storage are there;
2. clear local storage;
3. refresh the page.

expected behavior:
session storage still there, local storage is empty;
now:
session storage and local storage are still there both. if you exit and
relaunch the browser, the local storage is cleared.


root cause:
in WebPageClientImpl::clearLocalStorage(), we only deleted the storage database
file on disk, but we haven't cleared the local storage in memory.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list