[Webkit-unassigned] [Bug 114809] [WK2][GTK] ExceededDatabaseQuota method support in WebKitUIClient

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 23 17:40:02 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=114809


Andre Moreira Magalhaes <andrunko at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrunko at gmail.com




--- Comment #34 from Andre Moreira Magalhaes <andrunko at gmail.com>  2014-02-23 17:37:09 PST ---
Related: API used in wk2-efl https://bugs.webkit.org/show_bug.cgi?id=97882. They are using a callback in the view that is invoked when the quota is exceeded. If the callback is not set the default value of 5MB is used. No websettings involved.

I think we should take a similar approach by using a signal in the view but using websettings to allow setting the default value though (to be used in case no one is connected to the signal).

I don't like the idea of re-using the permission-request signal for this as I believe the API would be confusing: 1) allow/deny doesn't apply directly here 2) it would require a new PermissionRequest object 3) the quota-exceeded signal carries useful information (currentQuota, currentOriginUsage, currentDatabaseUsage, expectUsage) that would also have to be handled in the new PermissionRequest object ...

Let me know what you think and I will try to update the patch.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list