* add shrink function to resize finalizer list
* shrink the list when about an half of the list is empty
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
* check index property set in DerivedObject::defineOwnProperty method only
* index property check is removed for normal Object because PrototypeObject would check it instead
Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
https://tc39.es/proposal-weakrefs/#sec-weak-ref-objects
removed most of the related test-cases in test262 skiplist
The few remaning test-cases are base on FinalizationRegistry.prototype.cleanupSome, which i didn't find any documentation on.
Signed-off-by: bence gabor kis <kisbg@inf.u-szeged.hu>