mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibJS: Remove debug spam in Error.prototype.name
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user