Hi,
I've added sentry plugin in index.html via CDN:
https://browser.sentry-cdn.com/5.4.0/bundle.min.js
And then connected it to my project:
Sentry.init({ dsn: 'https://{PUBLIC_KEY}@sentry.io/{PROJECT_ID}' });
Internet Explorer 11 crashes with such error:
SCRIPT438: Object doesn't support property or method assign in bundle.min.js (2, 18268)
Other browsers Chrome, Firefox, Edge, Safari works fine.
We've been able to reproduce this issue as well. For a workaround fix we are preceding the Sentry JS with the following polyfill <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.6.15/browser-polyfill.min.js"></script>
We've been able to reproduce this issue as well. For a workaround fix we are preceding the Sentry JS with the following polyfill
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.6.15/browser-polyfill.min.js"></script>
It works fine, thank you!
EDIT: it works
@kamilogorek your linked solution doesn't actually fix this problem for IE11.
@lukegotszling @kamilogorek I checked both solutions and they both work. So I chose @kamilogorek solution because it takes less space.
@lukegotszling it does. And it also doesn't download any code for browsers that doesn't require a polyfill, so for Chrome and others it's 0kb no-op.
@kamilogorek my apologies, in my earlier testing it wasn't working. Tested now and it works. My fault.