Skip to content
Permalink
Browse files

Alternate fix for #11426; check responseText. Close gh-843.

  • Loading branch information...
markelog authored and dmethvin committed Oct 21, 2012
1 parent 8076a33 commit cafb542da901254fb5dff0f7bc97f0d2521c45a7
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/ajax/xhr.js
@@ -148,9 +148,8 @@ if ( jQuery.support.ajax ) {

// When requesting binary data, IE6-9 will throw an exception
// on any attempt to access responseText (#11426)
try {
if ( typeof xhr.responseText === "string" ) {
responses.text = xhr.responseText;
} catch( err ) {
}

// Firefox throws an exception when accessing

0 comments on commit cafb542

Please sign in to comment.
You can’t perform that action at this time.