LibJS: Rename ErrorType::ProxyGetOwnDescriptor{Undef => Undefined}Return

This seems like an unnecessary and uncommon abbreviation.
This commit is contained in:
Linus Groh 2021-01-13 20:35:46 +01:00 committed by Andreas Kling
commit f253f68768
Notes: sideshowbarker 2024-07-18 23:52:38 +09:00
2 changed files with 4 additions and 4 deletions

View file

@ -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 {};