1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:07:35 +00:00

LibJS: Remove debug spam in Error.prototype.name

This commit is contained in:
Andreas Kling 2020-03-24 22:03:01 +01:00
parent bca5762542
commit db024a9cb1

View file

@ -38,7 +38,6 @@ ErrorPrototype::ErrorPrototype()
{
put_native_property(
"name", [](Object* this_object) {
dbg() << "Error.prototype.name on " << this_object;
ASSERT(this_object);
ASSERT(this_object->is_error());
return js_string(this_object->heap(), static_cast<const Error*>(this_object)->name());