mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:27:34 +00:00
LibJS: Remove debug spam in Error.prototype.name
This commit is contained in:
parent
bca5762542
commit
db024a9cb1
1 changed files with 0 additions and 1 deletions
|
@ -38,7 +38,6 @@ ErrorPrototype::ErrorPrototype()
|
||||||
{
|
{
|
||||||
put_native_property(
|
put_native_property(
|
||||||
"name", [](Object* this_object) {
|
"name", [](Object* this_object) {
|
||||||
dbg() << "Error.prototype.name on " << this_object;
|
|
||||||
ASSERT(this_object);
|
ASSERT(this_object);
|
||||||
ASSERT(this_object->is_error());
|
ASSERT(this_object->is_error());
|
||||||
return js_string(this_object->heap(), static_cast<const Error*>(this_object)->name());
|
return js_string(this_object->heap(), static_cast<const Error*>(this_object)->name());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue