RESOLVED FIXED 38550
The sticky-notes example misbehaves when openDatabase() fails
https://bugs.webkit.org/show_bug.cgi?id=38550
Summary The sticky-notes example misbehaves when openDatabase() fails
Dumitru Daniliuc
Reported 2010-05-04 15:08:59 PDT
When openDatabase() fails, the "New note" button should be disabled. Otherwise, the user can create new notes (no DB calls), but cannot delete them (call to db.transaction() fails). Also, according to the spec, openDatabase() can throw a SECURITY_ERR if the database could not be opened -- an alert should be displayed in this case.
Attachments
patch (2.43 KB, patch)
2010-05-04 15:41 PDT, Dumitru Daniliuc
darin: review+
dumi: commit-queue-
Dumitru Daniliuc
Comment 1 2010-05-04 15:41:31 PDT
Dumitru Daniliuc
Comment 2 2010-05-04 18:22:50 PDT
Landed as r58795.
Note You need to log in before you can comment on or make changes to this bug.