From ddda4556b36a41b1c6f3f4d200eb16612d5f3f12 Mon Sep 17 00:00:00 2001 From: Fabian-Lars Date: Mon, 1 Apr 2024 15:42:40 +0200 Subject: [PATCH] fix(linux): Disable deprecated applicationCache web api. (#1207) fixes https://github.com/tauri-apps/tauri/issues/9300 ref https://github.com/WebKit/WebKit/pull/23382 --- .changes/deprecated-application-cache.md | 5 +++++ src/webkitgtk/mod.rs | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .changes/deprecated-application-cache.md diff --git a/.changes/deprecated-application-cache.md b/.changes/deprecated-application-cache.md new file mode 100644 index 000000000..a41e4a353 --- /dev/null +++ b/.changes/deprecated-application-cache.md @@ -0,0 +1,5 @@ +--- +"wry": patch +--- + +Disable deprecated applicationCache web api. This api was completely removed upstream in webkitgtk 2.44. diff --git a/src/webkitgtk/mod.rs b/src/webkitgtk/mod.rs index 0369db2ab..f081bd17e 100644 --- a/src/webkitgtk/mod.rs +++ b/src/webkitgtk/mod.rs @@ -378,7 +378,6 @@ impl InnerWebView { } // Enable App cache - settings.set_enable_offline_web_application_cache(true); settings.set_enable_page_cache(true); // Set user agent