summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Bindings/LocationObject.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-10-31 08:21:02 -0400
committerLinus Groh <mail@linusgroh.de>2021-10-31 15:48:36 +0100
commit585e420707b48fb43aa4b8d31f20d9e7af4fa676 (patch)
tree139292377e97bb971a76e2f196936e58875f3616 /Userland/Libraries/LibWeb/Bindings/LocationObject.h
parent1939c72ecc4acb3c13e10d6cdc5cb99457109613 (diff)
downloadserenity-585e420707b48fb43aa4b8d31f20d9e7af4fa676.zip
LibWeb: Convert the Location object to ThrowCompletionOr
Diffstat (limited to 'Userland/Libraries/LibWeb/Bindings/LocationObject.h')
-rw-r--r--Userland/Libraries/LibWeb/Bindings/LocationObject.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/Userland/Libraries/LibWeb/Bindings/LocationObject.h b/Userland/Libraries/LibWeb/Bindings/LocationObject.h
index 980f65cd47..e89d82b22e 100644
--- a/Userland/Libraries/LibWeb/Bindings/LocationObject.h
+++ b/Userland/Libraries/LibWeb/Bindings/LocationObject.h
@@ -29,19 +29,19 @@ public:
// but we don't have the infrastructure in place to implement them yet.
private:
- JS_DECLARE_OLD_NATIVE_FUNCTION(reload);
- JS_DECLARE_OLD_NATIVE_FUNCTION(replace);
-
- JS_DECLARE_OLD_NATIVE_FUNCTION(href_getter);
- JS_DECLARE_OLD_NATIVE_FUNCTION(href_setter);
-
- JS_DECLARE_OLD_NATIVE_FUNCTION(host_getter);
- JS_DECLARE_OLD_NATIVE_FUNCTION(hostname_getter);
- JS_DECLARE_OLD_NATIVE_FUNCTION(pathname_getter);
- JS_DECLARE_OLD_NATIVE_FUNCTION(hash_getter);
- JS_DECLARE_OLD_NATIVE_FUNCTION(search_getter);
- JS_DECLARE_OLD_NATIVE_FUNCTION(protocol_getter);
- JS_DECLARE_OLD_NATIVE_FUNCTION(port_getter);
+ JS_DECLARE_NATIVE_FUNCTION(reload);
+ JS_DECLARE_NATIVE_FUNCTION(replace);
+
+ JS_DECLARE_NATIVE_FUNCTION(href_getter);
+ JS_DECLARE_NATIVE_FUNCTION(href_setter);
+
+ JS_DECLARE_NATIVE_FUNCTION(host_getter);
+ JS_DECLARE_NATIVE_FUNCTION(hostname_getter);
+ JS_DECLARE_NATIVE_FUNCTION(pathname_getter);
+ JS_DECLARE_NATIVE_FUNCTION(hash_getter);
+ JS_DECLARE_NATIVE_FUNCTION(search_getter);
+ JS_DECLARE_NATIVE_FUNCTION(protocol_getter);
+ JS_DECLARE_NATIVE_FUNCTION(port_getter);
};
}