Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r186225 - [GTK] WebSQL doesn't work because openDatabase always…
… fails with DOM Exception 18 https://bugs.webkit.org/show_bug.cgi?id=146234 Reviewed by Sergio Villar Senin. Source/WebKit2: This is because we don't provide any quota, and 0 is used by default, so there's never enough quota and openDatabase fails. We should expose this in the API, but for now, we could use a default quota of 5MB like WTR does. * UIProcess/API/gtk/WebKitUIClient.cpp: Override exceededDatabaseQuota and return always the default quota. * UIProcess/gtk/WebInspectorProxyGtk.cpp: (WebKit::exceededDatabaseQuota): Return the quota based on the expected usage and current database usabe like mac does. (WebKit::WebInspectorProxy::platformCreateInspectorPage): Add custom UI client to implement exceededDatabaseQuota.
- Loading branch information
1 parent
e10d746
commit e97b9db
Showing
3 changed files
with
87 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters