mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Remove CefBrowserSettings.application_cache (fixes issue #1785)
AppCache is deprecated in favor of Service Workers and support will be fully removed soon (~M95). See https://web.dev/appcache-removal/. Also add missing "allow-file-access-from-files" command-line switch for CefBrowserSettings.file_access_from_file_urls.
This commit is contained in:
@@ -611,7 +611,7 @@ typedef struct _cef_browser_settings_t {
|
||||
|
||||
///
|
||||
// Controls whether file URLs will have access to other file URLs. Also
|
||||
// configurable using the "allow-access-from-files" command-line switch.
|
||||
// configurable using the "allow-file-access-from-files" command-line switch.
|
||||
///
|
||||
cef_state_t file_access_from_file_urls;
|
||||
|
||||
@@ -653,12 +653,6 @@ typedef struct _cef_browser_settings_t {
|
||||
///
|
||||
cef_state_t databases;
|
||||
|
||||
///
|
||||
// Controls whether the application cache can be used. Also configurable using
|
||||
// the "disable-application-cache" command-line switch.
|
||||
///
|
||||
cef_state_t application_cache;
|
||||
|
||||
///
|
||||
// Controls whether WebGL can be used. Note that WebGL requires hardware
|
||||
// support and may not work on all systems even when enabled. Also
|
||||
|
@@ -717,7 +717,6 @@ struct CefBrowserSettingsTraits {
|
||||
target->tab_to_links = src->tab_to_links;
|
||||
target->local_storage = src->local_storage;
|
||||
target->databases = src->databases;
|
||||
target->application_cache = src->application_cache;
|
||||
target->webgl = src->webgl;
|
||||
|
||||
target->background_color = src->background_color;
|
||||
|
Reference in New Issue
Block a user