mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +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:
parent
3ece3f3ed1
commit
3e7869d57d
Notes:
sideshowbarker
2024-07-17 17:48:19 +09:00
Author: https://github.com/networkException
Commit: 3e7869d57d
Pull-request: https://github.com/SerenityOS/serenity/pull/12946
1 changed files with 0 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue