[Webkit-unassigned] [Bug 39486] REGRESSION: Safari's "Show Databases" sheet never shows any databases

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 21 13:26:46 PDT 2010


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





--- Comment #3 from Brady Eidson <beidson at apple.com>  2010-05-21 13:26:46 PST ---
The first major cause I've found is http://trac.webkit.org/changeset/57668.

Things happen like this:

-On launch, WebKit initializes databases in WebKitInitializeDatabasesIfNecessary()
-In that method the first thing it tries to do is:
    DatabaseTracker::tracker().setDatabaseDirectoryPath(databasesDirectoryPath());
-In r57668, populating the origins was moved to the constructor.  Other than rote refactoring, it's not immediately clear to me why this was necessary.
-So when that initialization code runs, it creates the tracker, whose c'tor tries to populate the origins, but the database path hasn't been set, so that fails.

And after it fails once the tracker is in a pretty bogus state.

The fix for this might be very, very easy, but I can't get to it for an hour or two.

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