1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:57:44 +00:00

LibWeb: Add the URLSearchParams built-in

This is a very partial implementation, as some features (like 2 of the
possible constructor types, iteration and the getAll method) are
missing, and other's are not implemented due to the currently missing
URL built-in.
This commit is contained in:
Idan Horowitz 2021-09-13 01:00:47 +03:00 committed by Andreas Kling
parent de19dcf81a
commit f21041861b
6 changed files with 209 additions and 1 deletions

View file

@ -231,6 +231,7 @@ set(SOURCES
UIEvents/EventNames.cpp
UIEvents/MouseEvent.cpp
URL/URL.cpp
URL/URLSearchParams.cpp
WebAssembly/WebAssemblyInstanceConstructor.cpp
WebAssembly/WebAssemblyInstanceObject.cpp
WebAssembly/WebAssemblyInstanceObjectPrototype.cpp
@ -421,6 +422,7 @@ libweb_js_wrapper(UIEvents/UIEvent)
libweb_js_wrapper(XHR/ProgressEvent)
libweb_js_wrapper(XHR/XMLHttpRequest)
libweb_js_wrapper(XHR/XMLHttpRequestEventTarget)
libweb_js_wrapper(URL/URLSearchParams)
add_custom_command(
OUTPUT CSS/PropertyID.h