[Webkit-unassigned] [Bug 258859] New: [iOS] WKWebView doesn't prompt for additional IndexedDB quota
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 4 11:48:35 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=258859
Bug ID: 258859
Summary: [iOS] WKWebView doesn't prompt for additional
IndexedDB quota
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Website Storage
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ajuma at chromium.org
CC: achristensen at apple.com, beidson at apple.com,
cdumez at apple.com, sihui_liu at apple.com
When a webpage wants to use a large amount of storage space for IndexedDB, Safari prompts the user for permission. However, non-Safari WKWebViews are not able to do this, since this is handled by SPI on WKUIDelegate. Specifically, WKUIDelegate has `decideDatabaseQuotaForSecurityOrigin` functions declared here: https://github.com/WebKit/WebKit/blob/main/Source/WebKit/UIProcess/API/Cocoa/WKUIDelegatePrivate.h#L133
A bug reporter on the chromium bug tracker (crbug.com/1457845) reports that in Chrome on iOS, they can use ~1 GB of storage space, but can't use any more. But on Safari, the user is prompted to allow additional storage.
WKWebView should either handle this prompting on its own, or allow the embedder to show a prompt (by promoting the `decideDatabaseQuotaForSecurityOrigin` SPI to API).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230704/d6ce2780/attachment.htm>
More information about the webkit-unassigned
mailing list