mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibWeb: Add the URL::searchParams attribute
This commit is contained in:
parent
1841fbd3e4
commit
fe32c9c3bd
Notes:
sideshowbarker
2024-07-18 03:59:13 +09:00
Author: https://github.com/IdanHo
Commit: fe32c9c3bd
Pull-request: https://github.com/SerenityOS/serenity/pull/10022
5 changed files with 15 additions and 1 deletions
|
@ -75,4 +75,9 @@ DOM::ExceptionOr<void> URL::set_href(String const& href)
|
|||
return {};
|
||||
}
|
||||
|
||||
URLSearchParams const* URL::search_params() const
|
||||
{
|
||||
return m_query;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue