Closed as not planned
Closed as not planned
Description
NewRelic browser monitoring agent fails in web view on macOS.
Description
Our website is using the NewRelic monitoring agent.
Steps to Reproduce
- Create macOS app with a web view.
- Run the app on macOS 11 or macOS 12
- Load website with NewRelic monitoring agent
- Page fails to load and a fatal SyntaxError prevents any other JS code to execute.
Expected Behavior
NewRelic will monitor correctly the website in any browser the customer is using.
The SyntaxError is so fatal we cannot even run the error handler code to display an error message, or log it to the server.
The NewRelic monitoring agent does not capture the error caused by the @newrelic/browser-agent
library.
Relevant Logs / Console output
SyntaxError: Unexpected private name #o. Cannot parse class method with private name.
Your Environment
- Safari 14, 15, 16
- macOS 11
- Browser agent version: 1.246.0