diff options
author | Linus Groh <mail@linusgroh.de> | 2023-01-18 17:41:12 +0000 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2023-01-18 17:36:39 -0500 |
commit | afc055c088d800b505e1dbdb68f7a0f1b5a6af59 (patch) | |
tree | 06ea27dfd41dd6c22fdc2e2acaf554283fbe7064 /Userland/Libraries/LibWeb/DOM/Document.idl | |
parent | 78d6de2ec1cfc414eecedd8681f1783ac4a2f861 (diff) | |
download | serenity-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.idl')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Document.idl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Document.idl b/Userland/Libraries/LibWeb/DOM/Document.idl index 9685246f74..4a610f011c 100644 --- a/Userland/Libraries/LibWeb/DOM/Document.idl +++ b/Userland/Libraries/LibWeb/DOM/Document.idl @@ -19,6 +19,7 @@ #import <HTML/HTMLElement.idl> #import <HTML/HTMLHeadElement.idl> #import <HTML/HTMLScriptElement.idl> +#import <HTML/Location.idl> #import <Selection/Selection.idl> // https://dom.spec.whatwg.org/#document @@ -28,7 +29,6 @@ interface Document : Node { boolean hasFocus(); - // FIXME: These attributes currently don't do anything. [PutForwards=href, LegacyUnforgeable] readonly attribute Location? location; attribute USVString domain; |