diff options
author | Linus Groh <mail@linusgroh.de> | 2021-01-13 20:35:46 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-14 08:13:32 +0100 |
commit | f253f687688cfda6d5c6fe19456e5fd3ecd803b8 (patch) | |
tree | 897e27df2f6db73f1f31302f365d38e263160b72 /Userland/Libraries/LibJS/Runtime/ProxyObject.cpp | |
parent | cab3049dcc58d6fb85c1613bb6a23acdee13b98e (diff) | |
download | serenity-f253f687688cfda6d5c6fe19456e5fd3ecd803b8.zip |
LibJS: Rename ErrorType::ProxyGetOwnDescriptor{Undef => Undefined}Return
This seems like an unnecessary and uncommon abbreviation.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/ProxyObject.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/ProxyObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/ProxyObject.cpp b/Userland/Libraries/LibJS/Runtime/ProxyObject.cpp index 85a0d9db1b..6386022b1e 100644 --- a/Userland/Libraries/LibJS/Runtime/ProxyObject.cpp +++ b/Userland/Libraries/LibJS/Runtime/ProxyObject.cpp @@ -248,7 +248,7 @@ Optional<PropertyDescriptor> ProxyObject::get_own_property_descriptor(const Prop } if (!m_target.is_extensible()) { if (!vm.exception()) - vm.throw_exception<TypeError>(global_object(), ErrorType::ProxyGetOwnDescriptorUndefReturn); + vm.throw_exception<TypeError>(global_object(), ErrorType::ProxyGetOwnDescriptorUndefinedReturn); return {}; } return {}; |