LibWeb: Remove outdated FIXME comment in Namespaces validate_and_extract

As step "2. Validate qualifiedName" got implemented in
bfa7aad0f6, parts is known to have a
length of 2.
This commit is contained in:
networkException 2022-03-08 16:15:24 +01:00 committed by Linus Groh
commit 3e7869d57d
Notes: sideshowbarker 2024-07-17 17:48:19 +09:00

View file

@ -120,7 +120,6 @@ ExceptionOr<QualifiedName> validate_and_extract(FlyString namespace_, FlyString
// 5. If qualifiedName contains a U+003A (:), then strictly split the string on it and set prefix to the part before and localName to the part after.
if (qualified_name.view().contains(':')) {
auto parts = qualified_name.view().split_view(':');
// FIXME: Handle parts > 2
prefix = parts[0];
local_name = parts[1];
}