[Webkit-unassigned] [Bug 40301] DOM storage should only create databases when needed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 11 04:24:58 PDT 2010


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





--- Comment #9 from hans at chromium.org  2010-06-11 04:24:58 PST ---
(In reply to comment #8)
> (From update of attachment 58233 [details])
> WebCore/ChangeLog:8
>  +          As soon as a page attempts to use localstorage, StorageAreaSync will create an empty database if one doesn't already exist. This can lead to lots of unnecessary database files. In particular, they are created even when the privacy settings or private browsing mode disallow localstorage data, which may seem odd to the user.
> This is all on one line.  Please wrap.
Done.

> WebCore/manual-tests/localstorage-empty-database.html:6
>  +  </body>
> Why end the body before the body?  :-)
Fixed.

> WebCore/storage/StorageAreaSync.cpp:203
>  +  void StorageAreaSync::openDatabase(OpenDatabaseParamType create)
> Create is probably not the best name for this.
Trying new name.

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