[webkit-dev] Limiting the size of LocalStorage

Darin Adler darin at apple.com
Mon Nov 24 17:40:24 PST 2008


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