Enhance test/addons-napi
with a test where we pass such a callback from JS into the addon that, when called, will throw. In the addon we call the JS callback from between a scope open/close. The scope close must return napi_ok
. We should induce a fatal error, like an abort otherwise.