Skip to content

Truly independent web browser

LibWebView: Remove about:services

Timothy Flynn40530fbbc315
diff --git a/Base/res/ladybird/about-pages/about.html b/Base/res/ladybird/about-pages/about.html
index 94c6b238fe2..001ca7380df 100644
--- a/Base/res/ladybird/about-pages/about.html
+++ b/Base/res/ladybird/about-pages/about.html
@@ -45,7 +45,6 @@
<li><a href="about:bookmarks">about:bookmarks</a></li>
<li><a href="about:crashes">about:crashes</a></li>
<li><a href="about:settings">about:settings</a></li>
- <li><a href="about:services">about:services</a></li>
<li><a href="about:version">about:version</a></li>
</ul>
</body>
diff --git a/Base/res/ladybird/about-pages/services.html b/Base/res/ladybird/about-pages/services.html
deleted file mode 100644
index 56ccd701c19..00000000000
--- a/Base/res/ladybird/about-pages/services.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<!doctype html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <title>Services</title>
- <script>
- location.replace("about:settings#privacy");
- </script>
- </head>
-</html>
diff --git a/Libraries/LibWebView/WebUI.cpp b/Libraries/LibWebView/WebUI.cpp
index 441ee7f89b8..d504cdfbc34 100644
--- a/Libraries/LibWebView/WebUI.cpp
+++ b/Libraries/LibWebView/WebUI.cpp
@@ -22,7 +22,6 @@ static constexpr auto s_pages = to_array<WebUI::Page>({
{ "crashes"sv, "Crash Reports"sv, WebUI::PageType::Dynamic },
{ "newtab"sv, "New Tab"sv, WebUI::PageType::Static },
{ "settings"sv, "Settings"sv, WebUI::PageType::Dynamic },
- { "services"sv, "Services"sv, WebUI::PageType::Static },
{ "welcome"sv, "Welcome"sv, WebUI::PageType::Dynamic },
});
diff --git a/Tests/LibWebView/TestOmnibox.cpp b/Tests/LibWebView/TestOmnibox.cpp
index 9e8e01ce1c8..4f453afb97b 100644
--- a/Tests/LibWebView/TestOmnibox.cpp
+++ b/Tests/LibWebView/TestOmnibox.cpp
@@ -206,7 +206,6 @@ TEST_CASE(all_web_ui_pages_are_suggested)
"about:crashes"sv,
"about:newtab"sv,
"about:settings"sv,
- "about:services"sv,
"about:welcome"sv,
};
diff --git a/Tests/LibWebView/test-webdriver-content-blockers.py b/Tests/LibWebView/test-webdriver-content-blockers.py
index 25dbecf8915..7962291dbcb 100755
--- a/Tests/LibWebView/test-webdriver-content-blockers.py
+++ b/Tests/LibWebView/test-webdriver-content-blockers.py
@@ -138,7 +138,7 @@ with tempfile.TemporaryDirectory() as directory:
)
command("window", {"handle": settings_window})
command("url", {"url": "about:about"})
- command("url", {"url": "about:services"})
+ command("url", {"url": "about:settings#privacy"})
settings()
command("back", {})
assert command("execute/sync", {"script": "return location.href", "args": []}) == "about:about"
diff --git a/UI/cmake/ResourceFiles.cmake b/UI/cmake/ResourceFiles.cmake
index d8b28fa1544..c4237e6224f 100644
--- a/UI/cmake/ResourceFiles.cmake
+++ b/UI/cmake/ResourceFiles.cmake
@@ -40,7 +40,6 @@ set(ABOUT_PAGES
history.html
newtab.html
settings.html
- services.html
version.html
webui.css
welcome.css