mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:17:35 +00:00
LibWeb/URL: Make URL::search_params() return a NonnullGCPtr
This commit is contained in:
parent
28cf8ba92e
commit
0a556ae26d
2 changed files with 2 additions and 2 deletions
|
@ -400,7 +400,7 @@ WebIDL::ExceptionOr<void> URL::set_search(String const& search)
|
|||
}
|
||||
|
||||
// https://url.spec.whatwg.org/#dom-url-searchparams
|
||||
URLSearchParams const* URL::search_params() const
|
||||
JS::NonnullGCPtr<URLSearchParams const> URL::search_params() const
|
||||
{
|
||||
// The searchParams getter steps are to return this’s query object.
|
||||
return m_query;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue