1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 02:28:12 +00:00

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
parent 3ece3f3ed1
commit 3e7869d57d

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];
}