[Webkit-unassigned] [Bug 62091] New: Add API to WebKit-GTK to allow setting localStorage database path

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 4 08:49:21 PDT 2011


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

           Summary: Add API to WebKit-GTK to allow setting localStorage
                    database path
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: musicmastamike at gmail.com
                CC: musicmastamike at gmail.com


Created an attachment (id=96023)
 --> (https://bugs.webkit.org/attachment.cgi?id=96023&action=review)
Add API to allow setting local storage database path

Overview:
WebKit-GTK currently has no way to set the path for localStorage databases to be kept. As such, localStorage is never persistent in GTK browsers, such as Epiphany, Midori, luakit, and uzbl (all 4 have been confirmed to suffer from this same issue).

Attached is a small patch against WebKit-GTK 1.4.0 that adds an API to set this path. By default, it will use XDG_DATA_HOME/wekit/databases. However, this can be overridden with the "local-storage-database-path", which accepts a string input.

Steps to Reproduce:
1. Go to http://people.w3.org/mike/localstorage.html
2. Enter a key/value pair, click setItem()
3. Close and reopen browser, returning to this page

Actual Results:
No items are stored.

Expected Results:
Key/value pair should reappear.

Build Date & Platform:
WebKit-GTK 1.4.0 on Arch Linux

Additional Builds & Platforms:
Should occur on every platform supporting WebKit-GTK.

Related bugs from other projects:
http://www.uzbl.org/bugs/index.php?do=details&task_id=212&project=1&opened=129
http://luakit.org/issues/18

-- 
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