mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:27:35 +00:00
LibJS: Remove the NativeProperty mechanism from LibJS
These were an ad-hoc way to implement special behaviour when reading or writing to specific object properties. Because these were effectively replaced by the abillity to override the internal methods of Object, they are no longer needed.
This commit is contained in:
parent
306d59276a
commit
795786387b
11 changed files with 9 additions and 157 deletions
|
@ -318,8 +318,6 @@ String Value::to_string_without_side_effects() const
|
|||
return String::formatted("[object {}]", as_object().class_name());
|
||||
case Type::Accessor:
|
||||
return "<accessor>";
|
||||
case Type::NativeProperty:
|
||||
return "<native-property>";
|
||||
default:
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue