Sentry_sdk "permission denied to access property 'name'" error in Firefox 57

I know FF 57 is very old (Nov 17), but unfortunately it’s what our QA team uses with Selenium. When changing from Raven to sentry_sdk, we now get an error.

We’ve used the vanilla JS version, ie. in head there’s:

<script src="https://browser.sentry-cdn.com/4.2.4/bundle.min.js" crossorigin="anonymous"></script>

And at the top of the body, there’s:

<script type="text/javascript">Sentry.init({ dsn: 'https://dsnhere@sentry.io/idhere' });</script>

The error we see in Selenium is:

>       raise exception_class(message, screen, stacktrace)
E       WebDriverException: Message: Permission denied to access property "name"
E       Stacktrace:
E           at Sentry</je</t.prototype.wrapEventTarget/</< (https://browser.sentry-cdn.com/4.2.4/bundle.min.js:2)

/usr/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py:166: WebDriverException

Any suggestions for ways to work around this? (Other than upgrading FF). I don’t care much whether the reporting actually works in FF 57, just that it doesn’t error out.