Draft: Make test fail on log_bug_client
I used this while testing high-res scroll events -only for the relevant methods- so I thought it could be a good idea to see if it makes sense at a global level and if it is possible without introducing a lot of changes.
The test suite should not introduce client bugs by calling public API functions with wrong parameters.
Instead of printing a error message to the CI output that, most likely, will be overlooked, abort the test.
log_bug_client remains unchanged when executed outside the test suite.