Bug 36988 - Need a way to figure out if a database or an origin has been successfully deleted
Summary: Need a way to figure out if a database or an origin has been successfully del...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Ada Chan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-01 16:30 PDT by Ada Chan
Modified: 2010-04-01 17:13 PDT (History)
0 users

See Also:


Attachments
Patch (9.06 KB, patch)
2010-04-01 16:42 PDT, Ada Chan
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ada Chan 2010-04-01 16:30:51 PDT
Currently the SPI WebDatabaseManager::deleteDatabase() and WebDatabaseManager::deleteOrigin() are void so there's no way to find out whether there's an error in deleting a database or an origin.
Comment 1 Ada Chan 2010-04-01 16:42:31 PDT
Created attachment 52351 [details]
Patch

Make deleteDatabase() and deleteOrigin() in DatabaseTracker and WebDatabaseManager return a boolean so the caller can find out if there are any errors during the delete operation.
Comment 2 Ada Chan 2010-04-01 17:13:55 PDT
Fixed in r56954