What the heck is instantSearchSDKJSBridgeClearHighlight captured by Sentry?

Learn in detail about this instantSearchSDKJSBridgeClearHighlight error to know about why this occurs.

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!!!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store