summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/Document.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2023-01-18 17:41:12 +0000
committerTim Flynn <trflynn89@pm.me>2023-01-18 17:36:39 -0500
commitafc055c088d800b505e1dbdb68f7a0f1b5a6af59 (patch)
tree06ea27dfd41dd6c22fdc2e2acaf554283fbe7064 /Userland/Libraries/LibWeb/DOM/Document.h
parent78d6de2ec1cfc414eecedd8681f1783ac4a2f861 (diff)
downloadserenity-afc055c088d800b505e1dbdb68f7a0f1b5a6af59.zip
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
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Document.h')
-rw-r--r--Userland/Libraries/LibWeb/DOM/Document.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Document.h b/Userland/Libraries/LibWeb/DOM/Document.h
index 67ce6c5ef6..ddf48874a6 100644
--- a/Userland/Libraries/LibWeb/DOM/Document.h
+++ b/Userland/Libraries/LibWeb/DOM/Document.h
@@ -339,7 +339,7 @@ public:
JS::NonnullGCPtr<HTML::History> history();
- Bindings::LocationObject* location();
+ HTML::Location* location();
size_t number_of_things_delaying_the_load_event() { return m_number_of_things_delaying_the_load_event; }
void increment_number_of_things_delaying_the_load_event(Badge<DocumentLoadEventDelayer>);