Recently at work, encountered this interesting error on Sentry logs and there were multiple events for this one so as usual started debugging.
When Googled, landed on a StackOverflow Q&A which was the only post available regarding this issue.
After going through all the answers and comments in Q&A, the issue seems to occur only on Edge on iOS mobile. This is a harmless cross-browser issue that we can ignore in Sentry.
The reason for this one is Edge uses Safari’s WkWebView instead of its own Blink. In order to implement features like Bing’s instant search, etc Edge injected these methods into the loaded pages and then the outer browser calls those JavaScript functions that were injected.
Here, someone had goofed and got rid of (or renamed) the injected JavaScript function, but failed to remove/update the browser code that tries to call that injected JavaScript. Since Sentry captures all the errors logged to the console, it is logged to our app errors. So for me, it is one less issue to worry about, I assume the same for you.
Happy Hacking!!!
Top comments (0)