I'm working on a third-party library, and our customers don't really like to see that their AJAX requests are being sent by our code. Unfortunately, after updating Raven-JS to the latest version, I can see on my Chrome Network tab that the initiator is raven.js for my customer's AJAX calls.
Therefore in order to keep using Sentry, and use the latest Raven-JS, we would need this XHR wrapping logic to be configurable.