WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dumitru Daniliuc
Comment 1
2010-05-04 15:41:31 PDT
Created
attachment 55064
[details]
patch
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.
Top of Page
Format For Printing
XML
Clone This Bug