mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 09:52:31 +00:00
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:
parent
dc2b0e17bf
commit
0b8bcdcbd3
Notes:
github-actions[bot]
2025-02-19 13:03:07 +00:00
Author: https://github.com/shannonbooth
Commit: 0b8bcdcbd3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3609
Reviewed-by: https://github.com/trflynn89
3 changed files with 0 additions and 9 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue