summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/ConsoleGlobalObject.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-09-29 17:54:25 +0100
committerLinus Groh <mail@linusgroh.de>2021-09-29 23:49:53 +0100
commit5da210125e1ae62278ddf708ad85b037f1891a81 (patch)
treea184dafd5fe0707a7a3890df0cd6a7f97294f902 /Userland/Services/WebContent/ConsoleGlobalObject.cpp
parent0e69a6e487a3d00b329e01bd21b5acfce9070765 (diff)
downloadserenity-5da210125e1ae62278ddf708ad85b037f1891a81.zip
LibJS: Convert internal_define_own_property() to ThrowCompletionOr
Diffstat (limited to 'Userland/Services/WebContent/ConsoleGlobalObject.cpp')
-rw-r--r--Userland/Services/WebContent/ConsoleGlobalObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WebContent/ConsoleGlobalObject.cpp b/Userland/Services/WebContent/ConsoleGlobalObject.cpp
index e835bc520d..59427ecaf2 100644
--- a/Userland/Services/WebContent/ConsoleGlobalObject.cpp
+++ b/Userland/Services/WebContent/ConsoleGlobalObject.cpp
@@ -65,7 +65,7 @@ JS::ThrowCompletionOr<Optional<JS::PropertyDescriptor>> ConsoleGlobalObject::int
return Base::internal_get_own_property(property_name);
}
-bool ConsoleGlobalObject::internal_define_own_property(JS::PropertyName const& property_name, JS::PropertyDescriptor const& descriptor)
+JS::ThrowCompletionOr<bool> ConsoleGlobalObject::internal_define_own_property(JS::PropertyName const& property_name, JS::PropertyDescriptor const& descriptor)
{
return m_window_object->internal_define_own_property(property_name, descriptor);
}