Skip to content

Commit 7ebc82f

Browse files
committed
Merge pull request #572 from getsentry/remove-errant-debug-code
Remove intentional throw on native XHR ...
2 parents 1a52395 + d2cebce commit 7ebc82f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/raven.js

-3
Original file line numberDiff line numberDiff line change
@@ -1293,9 +1293,6 @@ Raven.prototype = {
12931293
_makeRequest: function(opts) {
12941294
var request = new XMLHttpRequest();
12951295

1296-
if (request.send.toString() === 'function send() { [native code] }') {
1297-
throw new Error('shouldnt get here');
1298-
}
12991296
// if browser doesn't support CORS (e.g. IE7), we are out of luck
13001297
var hasCORS =
13011298
'withCredentials' in request ||

0 commit comments

Comments
 (0)