We assumed that getter and setter were always methods, so we always try to set the initial parameter as the instance. When called with a value ot having an instance we get an exception because the expected instance is nullptr.
Created attachment 444514 [details] Patch
Comment on attachment 444514 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=444514&action=review Nice tests. > Source/JavaScriptCore/ChangeLog:9 > + instance. When called with a value ot having an instance we get an exception because the expected instance is not
Committed r285988 (244385@main): <https://commits.webkit.org/244385@main>
<rdar://problem/85540530>