Summary: | DRT on Windows doesn't support LayoutTestController::setQuota or print a callback on UIDelegate::exceededDatabaseQuota | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Brian Weinstein <bweinstein> | ||||
Component: | Tools / Tests | Assignee: | Brian Weinstein <bweinstein> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | Windows 7 | ||||||
Attachments: |
|
Description
Brian Weinstein
2009-08-14 15:30:14 PDT
Created attachment 34978 [details]
Fix
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?
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. Committed in http://trac.webkit.org/changeset/47447 |