diff --git a/Userland/Libraries/LibWeb/HTML/CORSSettingAttribute.cpp b/Userland/Libraries/LibWeb/HTML/CORSSettingAttribute.cpp
index 097a4cadf24..4bdedcee589 100644
--- a/Userland/Libraries/LibWeb/HTML/CORSSettingAttribute.cpp
+++ b/Userland/Libraries/LibWeb/HTML/CORSSettingAttribute.cpp
@@ -15,9 +15,6 @@ CORSSettingAttribute cors_setting_attribute_from_keyword(Optional const&
// its missing value default is the No CORS state
return CORSSettingAttribute::NoCORS;
}
- if (keyword->is_empty() || keyword->bytes_as_string_view().equals_ignoring_ascii_case("anonymous"sv)) {
- return CORSSettingAttribute::Anonymous;
- }
if (keyword->bytes_as_string_view().equals_ignoring_ascii_case("use-credentials"sv)) {
return CORSSettingAttribute::UseCredentials;
}