summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/GlobalObject.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-10-29 17:04:01 -0400
committerIdan Horowitz <idan.horowitz@gmail.com>2021-10-31 07:50:30 +0200
commite92d14d4981d19ec9c2a5d3852b3ae5cfe0e1870 (patch)
tree0f19833c4e4020260e9f11687368e19c2f5e896e /Userland/Libraries/LibJS/Runtime/GlobalObject.h
parent875b5636641c65004e9799d0c55f56fc5d12a98b (diff)
downloadserenity-e92d14d4981d19ec9c2a5d3852b3ae5cfe0e1870.zip
LibJS: Convert GlobalObject to ThrowCompletionOr
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/GlobalObject.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/GlobalObject.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/GlobalObject.h b/Userland/Libraries/LibJS/Runtime/GlobalObject.h
index eb6d2b3bad..f2da91e32c 100644
--- a/Userland/Libraries/LibJS/Runtime/GlobalObject.h
+++ b/Userland/Libraries/LibJS/Runtime/GlobalObject.h
@@ -76,18 +76,18 @@ protected:
private:
virtual bool is_global_object() const final { return true; }
- JS_DECLARE_OLD_NATIVE_FUNCTION(gc);
- JS_DECLARE_OLD_NATIVE_FUNCTION(is_nan);
- JS_DECLARE_OLD_NATIVE_FUNCTION(is_finite);
- JS_DECLARE_OLD_NATIVE_FUNCTION(parse_float);
- JS_DECLARE_OLD_NATIVE_FUNCTION(parse_int);
- JS_DECLARE_OLD_NATIVE_FUNCTION(eval);
- JS_DECLARE_OLD_NATIVE_FUNCTION(encode_uri);
- JS_DECLARE_OLD_NATIVE_FUNCTION(decode_uri);
- JS_DECLARE_OLD_NATIVE_FUNCTION(encode_uri_component);
- JS_DECLARE_OLD_NATIVE_FUNCTION(decode_uri_component);
- JS_DECLARE_OLD_NATIVE_FUNCTION(escape);
- JS_DECLARE_OLD_NATIVE_FUNCTION(unescape);
+ JS_DECLARE_NATIVE_FUNCTION(gc);
+ JS_DECLARE_NATIVE_FUNCTION(is_nan);
+ JS_DECLARE_NATIVE_FUNCTION(is_finite);
+ JS_DECLARE_NATIVE_FUNCTION(parse_float);
+ JS_DECLARE_NATIVE_FUNCTION(parse_int);
+ JS_DECLARE_NATIVE_FUNCTION(eval);
+ JS_DECLARE_NATIVE_FUNCTION(encode_uri);
+ JS_DECLARE_NATIVE_FUNCTION(decode_uri);
+ JS_DECLARE_NATIVE_FUNCTION(encode_uri_component);
+ JS_DECLARE_NATIVE_FUNCTION(decode_uri_component);
+ JS_DECLARE_NATIVE_FUNCTION(escape);
+ JS_DECLARE_NATIVE_FUNCTION(unescape);
NonnullOwnPtr<Console> m_console;