Certain errors are silent

I wrote an extension which calls an imported function. The function includes this, error-throwing line:

asoidjasd.aosidjaosd.asodijasd.aosijd.asdoij

The function stops executing due to the line, but no error is shown.

If invocation of this function is happening within a JavaScript Promise, then unfortunately errors are eaten internally by WebKit, and there isn’t a whole lot we can do to get around that.

We’ve had discussions with the WebKit team about this before, but unfortunately the issue hasn’t had any significant traction: 197172 – JSC should have public API for unhandled promise rejections.