Bug 17207

Summary: Database example doesn't work (requires not-yet-released Safari)
Product: WebKit Reporter: Stefano De Sabbata <stefano.desabbata>
Component: WebKit APIAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, darin, webkit
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://webkit.org/misc/DatabaseExample.html

Description Stefano De Sabbata 2008-02-07 03:16:57 PST
Error reported:
"Failed to open the database on disk.  This is probably because the version was bad or there is not enough space left in this domain's quota".

It doesn't save notes.
Comment 1 Robert Blaut 2008-02-07 05:06:38 PST
Confirmed in Webkit r30053.
Comment 2 Alexey Proskuryakov 2008-02-07 11:09:55 PST
This is by design: this feature is no longer compatible with shipping versions of Safari. Perhaps we need to add a workaround for nightly builds to work?
Comment 3 Darin Adler 2008-02-07 11:45:31 PST
I think it would be fine to hack something in that's specific to nightly builds.

The best place would probably be in WebKit/mac/WebCoreSupport/WebChromeClient.mm and WebKit/win/WebChromeClient.cpp -- each could say "if this is a nightly build and the quota is 0, then set the quota to 5 MB" in the case where the delegate method is not implemented.
Comment 4 Alexey Proskuryakov 2008-02-14 07:42:47 PST
Committed revision 30229 and 30230.