Bug 17207
| Summary: | Database example doesn't work (requires not-yet-released Safari) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Stefano De Sabbata <stefano.desabbata> |
| Component: | WebKit API | Assignee: | 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 | ||
Stefano De Sabbata
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Robert Blaut
Confirmed in Webkit r30053.
Alexey Proskuryakov
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?
Darin Adler
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.
Alexey Proskuryakov
Committed revision 30229 and 30230.