LibWeb: Remove some useless URL validity checks

It is not possible for a URL here to have a value and be invalid.
This commit is contained in:
Shannon Booth 2025-02-16 14:06:50 +13:00 committed by Tim Flynn
parent dc2b0e17bf
commit 0b8bcdcbd3
Notes: github-actions[bot] 2025-02-19 13:03:07 +00:00
3 changed files with 0 additions and 9 deletions

View file

@ -136,9 +136,6 @@ GC::Ptr<DOM::Element> SVGUseElement::referenced_element()
if (!m_href.has_value())
return nullptr;
if (!m_href->is_valid())
return nullptr;
if (!m_href->fragment().has_value())
return nullptr;