Bug 187567

Summary: WKUIDelegate needs an alternate decideDatabaseQuotaForSecurityOrigin method that provides the database name and display name
Product: WebKit Reporter: Jeff Miller <jeffm>
Component: WebKit APIAssignee: Jeff Miller <jeffm>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, commit-queue, jeffm
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Jeff Miller 2018-07-11 17:02:18 PDT
WKUIDelegate's needs an alternate decideDatabaseQuotaForSecurityOrigin method that provides the database name and display name. This would provide equivalent functionality to the WKPageExceededDatabaseQuotaCallback in the WKPageUIClient C SPI:

typedef unsigned long long (*WKPageExceededDatabaseQuotaCallback)(WKPageRef page, WKFrameRef frame, WKSecurityOriginRef origin, WKStringRef databaseName, WKStringRef displayName, unsigned long long currentQuota, unsigned long long currentOriginUsage, unsigned long long currentDatabaseUsage, unsigned long long expectedUsage, const void *clientInfo);
Comment 1 Jeff Miller 2018-07-11 17:02:46 PDT
<rdar://problem/35858035>
Comment 2 Jeff Miller 2018-07-11 17:10:23 PDT
Created attachment 344791 [details]
Patch
Comment 3 WebKit Commit Bot 2018-07-24 10:47:32 PDT
Comment on attachment 344791 [details]
Patch

Clearing flags on attachment: 344791

Committed r234157: <https://trac.webkit.org/changeset/234157>
Comment 4 WebKit Commit Bot 2018-07-24 10:47:34 PDT
All reviewed patches have been landed.  Closing bug.