Rename storage -> offline-web-application-storage to -cache

This commit is contained in:
Florian Bruhin 2017-06-06 14:19:14 +02:00
parent c696723650
commit 0ca59f2184
4 changed files with 5 additions and 2 deletions

View File

@ -97,6 +97,7 @@ Changed
- `storage -> object-cache-capacities` (default depends on disk space)
- `content -> css-regions` (now always turned off)
- `storage -> offline-storage-database` (merged into `storage -> local-storage`)
- (QtWebKit) storage -> offline-web-application-storage` got renamed to `...-cache`
Fixed

View File

@ -228,7 +228,7 @@ MAPPINGS = {
# Attribute(QWebSettings.TiledBackingStoreEnabled),
},
'storage': {
'offline-web-application-storage':
'offline-web-application-cache':
Attribute(QWebSettings.OfflineWebApplicationCacheEnabled),
'local-storage':
Attribute(QWebSettings.LocalStorageEnabled,

View File

@ -390,6 +390,8 @@ class ConfigManager(QObject):
('colors', 'statusbar.bg.warning'): 'messages.bg.warning',
('colors', 'statusbar.fg.prompt'): 'prompts.fg',
('colors', 'statusbar.bg.prompt'): 'prompts.bg',
('storage', 'offline-web-application-storage'):
'offline-web-application-cache',
}
DELETED_OPTIONS = [
('colors', 'tab.separator'),

View File

@ -767,7 +767,7 @@ def data(readonly=False):
"For more information about the feature, please refer to: "
"http://webkit.org/blog/427/webkit-page-cache-i-the-basics/"),
('offline-web-application-storage',
('offline-web-application-cache',
SettingValue(typ.Bool(), 'true',
backends=[usertypes.Backend.QtWebKit]),
"Whether support for the HTML 5 web application cache feature is "