[webkit-dev] Limiting the size of LocalStorage

Yael.Aharon at nokia.com Yael.Aharon at nokia.com
Mon Nov 24 17:56:24 PST 2008

Thanks Darin,
Does DatabaseTracker control LocalStorage too, or only offline SQLite databases?
In my QT build, the callback did not seem to arrive to ChromeClientQt.
Thanks, Yael 

-----Original Message-----
From: ext Darin Adler [mailto:darin at apple.com] 
Sent: Monday, November 24, 2008 8:40 PM
To: Aharon Yael (Nokia-D-MSW/Boston)
Cc: webkit-dev at lists.webkit.org
Subject: Re: [webkit-dev] Limiting the size of LocalStorage

On Nov 24, 2008, at 5:35 PM, Yael.Aharon at nokia.com wrote:

> Is it possible to limit the size of the LocalStorage databases and 
> selectively allow only certain servers to use this feature?

Yes. All sites start out with a quota of 0. Increase the quota when the ChromeClient exceededDatabaseQuota function is called. Increase the quota by calling DatabaseTracker::setQuota.

     -- Darin

More information about the webkit-dev mailing list