Bug 28326

Summary: DRT on Windows doesn't support LayoutTestController::setQuota or print a callback on UIDelegate::exceededDatabaseQuota
Product: WebKit Reporter: Brian Weinstein <bweinstein>
Component: Tools / TestsAssignee: Brian Weinstein <bweinstein>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   
Attachments:
Description Flags
Fix oliver: review+

Description Brian Weinstein 2009-08-14 15:30:14 PDT
DRT on Windows doesn't support LayoutTestController::setQuota or print a callback on UIDelegate::exceededDatabaseQuota.
Comment 1 Brian Weinstein 2009-08-17 11:12:37 PDT
Created attachment 34978 [details]
Fix
Comment 2 Eric Seidel (no email) 2009-08-17 17:21:21 PDT
Comment on attachment 34978 [details]
Fix

I'm confused by this code:
     COMPtr<IWebDatabaseManager> databaseManager;
 731     COMPtr<IWebDatabaseManager> tmpDatabaseManager;
 732 
 733     if (FAILED(WebKitCreateInstance(CLSID_WebDatabaseManager, 0, IID_IWebDatabaseManager, (void**)&tmpDatabaseManager)))
 734         return;
 735     if (FAILED(tmpDatabaseManager->sharedWebDatabaseManager(&databaseManager)))
 736         return;

Maybe it could be explained in a comment or the ChangeLgo why you need two IWebDatabaseManager pointers there?
Comment 3 Brian Weinstein 2009-08-17 17:22:25 PDT
I got that code from a different function in the same file that used the same way of getting the real database manager. I can do a little legwork there and figure out why it's doing that though.
Comment 4 Brian Weinstein 2009-08-19 16:42:53 PDT
Committed in http://trac.webkit.org/changeset/47447