I'm currently receiving a weird JavaScript error on my error monitoring tool Sentry that says can't redefine non-configurable property "userAgent".
It seems like the error is happening on multiple pages but only on Firefox. Additionally, on all errors the referrer page seems to be "https://www.startpage.com/".
However, I'm not able to reproduce the error and have no clue whats causing the error as I do not have any assignments to the navigator.userAgent var.
Does anyone else have this issue, too, or has any clue what could cause this error?
navigator.userAgent === 'native'. I`m setting the user agent within my native app's webview to 'native' to be able to detect whether my website is visited within a normal browser or within a webview of my app. But the errors do not occur while using my native app, just via the Firefox browser. Do you think the check could still cause the issue?userAgentin the application code, it's used by dependencies so my first step will be to upgrade them. And I'll try to get more information in Sentry. And then we wait 🍺