Bug 36988

Summary: Need a way to figure out if a database or an origin has been successfully deleted
Product: WebKit Reporter: Ada Chan <adachan>
Component: New BugsAssignee: Ada Chan <adachan>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch darin: review+

Ada Chan
Reported 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.
Attachments
Patch (9.06 KB, patch)
2010-04-01 16:42 PDT, Ada Chan
darin: review+
Ada Chan
Comment 1 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.
Ada Chan
Comment 2 2010-04-01 17:13:55 PDT
Fixed in r56954
Note You need to log in before you can comment on or make changes to this bug.