Skip to content

Truly independent web browser

LibWebView: Remove about:blocking

Timothy Flynnee2e6fc6b345
diff --git a/Base/res/ladybird/about-pages/about.html b/Base/res/ladybird/about-pages/about.html
index 3c12306030e..34414dfa27f 100644
--- a/Base/res/ladybird/about-pages/about.html
+++ b/Base/res/ladybird/about-pages/about.html
@@ -41,7 +41,6 @@
<h1>List of About URLs</h1>
<ul>
<li><a href="about:about">about:about</a></li>
- <li><a href="about:blocking">about:blocking</a></li>
<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>
diff --git a/Base/res/ladybird/about-pages/blocking.html b/Base/res/ladybird/about-pages/blocking.html
deleted file mode 100644
index 749d33fb6aa..00000000000
--- a/Base/res/ladybird/about-pages/blocking.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<!doctype html>
-<!--
-Copyright (c) 2026-present, the Ladybird developers.
-SPDX-License-Identifier: BSD-2-Clause
--->
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <title>Blocking</title>
- <script>
- location.replace("about:settings#blocking");
- </script>
- </head>
-</html>
diff --git a/Libraries/LibWebView/WebUI.cpp b/Libraries/LibWebView/WebUI.cpp
index 34f78e871a2..64e101d63a0 100644
--- a/Libraries/LibWebView/WebUI.cpp
+++ b/Libraries/LibWebView/WebUI.cpp
@@ -19,7 +19,6 @@ namespace WebView {
static constexpr auto s_pages = to_array<WebUI::Page>({
{ "about"sv, "About URLs"sv, WebUI::PageType::Static },
- { "blocking"sv, "Blocking"sv, WebUI::PageType::Static },
{ "crashes"sv, "Crash Reports"sv, WebUI::PageType::Dynamic },
{ "newtab"sv, "New Tab"sv, WebUI::PageType::Static },
{ "settings"sv, "Settings"sv, WebUI::PageType::Dynamic },
diff --git a/Tests/LibWebView/TestOmnibox.cpp b/Tests/LibWebView/TestOmnibox.cpp
index 896f9079bb5..22e18c21b3a 100644
--- a/Tests/LibWebView/TestOmnibox.cpp
+++ b/Tests/LibWebView/TestOmnibox.cpp
@@ -349,7 +349,6 @@ TEST_CASE(all_web_ui_pages_are_suggested)
{
static constexpr Array expected_urls {
"about:about"sv,
- "about:blocking"sv,
"about:crashes"sv,
"about:newtab"sv,
"about:settings"sv,
diff --git a/Tests/LibWebView/test-webdriver-content-blockers.py b/Tests/LibWebView/test-webdriver-content-blockers.py
index 7962291dbcb..dd64d8701fd 100755
--- a/Tests/LibWebView/test-webdriver-content-blockers.py
+++ b/Tests/LibWebView/test-webdriver-content-blockers.py
@@ -142,7 +142,7 @@ with tempfile.TemporaryDirectory() as directory:
settings()
command("back", {})
assert command("execute/sync", {"script": "return location.href", "args": []}) == "about:about"
- command("url", {"url": "about:blocking"})
+ command("url", {"url": "about:settings#blocking"})
state = settings()
assert command(
"execute/sync",
diff --git a/UI/cmake/ResourceFiles.cmake b/UI/cmake/ResourceFiles.cmake
index 68e15b0a1e8..36eb0193889 100644
--- a/UI/cmake/ResourceFiles.cmake
+++ b/UI/cmake/ResourceFiles.cmake
@@ -27,7 +27,6 @@ list(TRANSFORM INTERNAL_RESOURCES PREPEND "${LADYBIRD_SOURCE_DIR}/Base/res/ladyb
set(ABOUT_PAGES
about.html
- blocking.html
bookmarks.html
crashes.html
downloads.html