diff --git a/Libraries/LibJS/Runtime/SymbolPrototype.cpp b/Libraries/LibJS/Runtime/SymbolPrototype.cpp index b00dfbedd2..8512a8fa85 100644 --- a/Libraries/LibJS/Runtime/SymbolPrototype.cpp +++ b/Libraries/LibJS/Runtime/SymbolPrototype.cpp @@ -42,8 +42,7 @@ namespace JS { SymbolPrototype::SymbolPrototype() : Object(interpreter().global_object().object_prototype()) { - // FIXME: description has no setter, eventually remove - put_native_property("description", description_getter, description_setter, Attribute::Configurable); + put_native_property("description", description_getter, nullptr, Attribute::Configurable); put_native_function("toString", to_string, 0, Attribute::Writable | Attribute::Configurable); put_native_function("valueOf", value_of, 0, Attribute::Writable | Attribute::Configurable); @@ -73,11 +72,6 @@ Value SymbolPrototype::description_getter(Interpreter& interpreter) return js_string(interpreter, this_object->description()); } -void SymbolPrototype::description_setter(Interpreter&, Value) -{ - // No-op, remove eventually -} - Value SymbolPrototype::to_string(Interpreter& interpreter) { auto* this_object = this_symbol_from_interpreter(interpreter); diff --git a/Libraries/LibJS/Runtime/SymbolPrototype.h b/Libraries/LibJS/Runtime/SymbolPrototype.h index 4ccd5df3e1..5106a0b370 100644 --- a/Libraries/LibJS/Runtime/SymbolPrototype.h +++ b/Libraries/LibJS/Runtime/SymbolPrototype.h @@ -39,7 +39,6 @@ private: virtual const char* class_name() const override { return "SymbolPrototype"; } static Value description_getter(Interpreter&); - static void description_setter(Interpreter&, Value); static Value to_string(Interpreter&); static Value value_of(Interpreter&);