[webkit-dev] Controling HTML5 local storage/ databases programmatically

Christian Dywan christian at twotoasts.de
Tue May 12 11:12:08 PDT 2009


Heya,

inspired by bug 25629 [1] I came to wonder how far webkit applications
are able to control HTML5 local storage and databases. The bug report
is mainly about enabling or disabling these features.

So how far does WebCore allow for limiting stored data, in the form of
an expiration date and in the form of disk quota? And how can one
listen to changes, and manipulate data?

I am thinking of ways similar to HTTP cookies, where I can easily see
what is added, changed, removed and where data is coming from.


Any tips as for how to do this from within WebCore, so that WebKit,
specifically WebKitGTK+, can provide API for this, would be greatly
appreciated.


Apologies for throwing local storage and databases in the same pot here.
I'm aware these are distinct features.


Yours,
    Christian

[1] https://bugs.webkit.org/show_bug.cgi?id=25629


More information about the webkit-dev mailing list