Missing exception checks after calls to the static getProperty helper, these may result in the wrong exception being thrown (or an ASSERT being hit, as is currently the case running test-262).
Created attachment 111497 [details] Fix
Comment on attachment 111497 [details] Fix Seems like you could remove a bunch of code at call sites if you folded the exception check into the getProperty helper function.
I think having the helper actually hinders us here - since we need to force a return. The obvious thing would be to make the helper return JSValue() if there is an exception, but it already uses this value to indicate property-not-present. The best solution is likely to restructure the code to remove the helper, and make PropertySlot::getValue return JSValue() if an exception is thrown from a getter - but this is likely a bigger change, so I'm going to grab your r+ & run, and leave this refactoring for later!
Fixed in r97791