commit 3f4292b7ccc4d25002a17d9f821ea0274c57098b
parent 175710126c27f4906218e40ece00abae179a1b44
Author: Quentin Rameau <quinq@fifth.space>
Date: Sun, 17 Mar 2024 06:47:51 +0100
Remove Java support toggle
This has been deprecated since 2.38.
Diffstat:
2 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -30,7 +30,6 @@ static Parameter defconfig[ParameterLast] = {
[Geolocation] = { { .i = 0 }, },
[HideBackground] = { { .i = 0 }, },
[Inspector] = { { .i = 0 }, },
- [Java] = { { .i = 1 }, },
[JavaScript] = { { .i = 1 }, },
[KioskMode] = { { .i = 0 }, },
[LoadImages] = { { .i = 1 }, },
diff --git a/surf.c b/surf.c
@@ -67,7 +67,6 @@ typedef enum {
Geolocation,
HideBackground,
Inspector,
- Java,
JavaScript,
KioskMode,
LoadImages,
@@ -285,7 +284,6 @@ static ParamName loadcommitted[] = {
Geolocation,
HideBackground,
Inspector,
- Java,
// KioskMode,
MediaManualPlay,
RunInFullscreen,
@@ -809,9 +807,6 @@ setparameter(Client *c, int refresh, ParamName p, const Arg *a)
case Inspector:
webkit_settings_set_enable_developer_extras(c->settings, a->i);
return; /* do not update */
- case Java:
- webkit_settings_set_enable_java(c->settings, a->i);
- return; /* do not update */
case JavaScript:
webkit_settings_set_enable_javascript(c->settings, a->i);
break;
@@ -1124,7 +1119,6 @@ newview(Client *c, WebKitWebView *rv)
"enable-dns-prefetching", curconfig[DNSPrefetch].val.i,
"enable-html5-database", curconfig[DiskCache].val.i,
"enable-html5-local-storage", curconfig[DiskCache].val.i,
- "enable-java", curconfig[Java].val.i,
"enable-javascript", curconfig[JavaScript].val.i,
"enable-site-specific-quirks", curconfig[SiteQuirks].val.i,
"enable-smooth-scrolling", curconfig[SmoothScrolling].val.i,