From afc055c088d800b505e1dbdb68f7a0f1b5a6af59 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Wed, 18 Jan 2023 17:41:12 +0000 Subject: LibWeb: Convert the Location object to IDL This includes: - Moving it from Bindings/ to HTML/ - Renaming it from LocationObject to Location - Removing the manual definitions of the constructor and prototype - Removing special handling of the Location interface from the bindings generator - Converting the JS_DEFINE_NATIVE_FUNCTIONs to regular functions returning DeprecatedString instead of PrimitiveString - Adding missing (no-op) setters for the various attributes, which are expected to exist by the bindings generator --- Userland/Libraries/LibWeb/idl_files.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'Userland/Libraries/LibWeb/idl_files.cmake') diff --git a/Userland/Libraries/LibWeb/idl_files.cmake b/Userland/Libraries/LibWeb/idl_files.cmake index 602c1651fc..2ae06b8972 100644 --- a/Userland/Libraries/LibWeb/idl_files.cmake +++ b/Userland/Libraries/LibWeb/idl_files.cmake @@ -144,6 +144,7 @@ libweb_js_bindings(HTML/HTMLUListElement) libweb_js_bindings(HTML/HTMLUnknownElement) libweb_js_bindings(HTML/HTMLVideoElement) libweb_js_bindings(HTML/ImageData) +libweb_js_bindings(HTML/Location) libweb_js_bindings(HTML/MessageChannel) libweb_js_bindings(HTML/MessageEvent) libweb_js_bindings(HTML/MessagePort) -- cgit v1.2.3