Skip to content
Permalink
Browse files
Adjust prefilter test to error on string indexing in oldIE
  • Loading branch information
timmywil committed Sep 12, 2013
1 parent 679536e commit 6b7a52b
Showing 1 changed file with 2 additions and 1 deletion.
@@ -1526,7 +1526,8 @@ module( "ajax", {

ajaxTest( "jQuery.ajaxPrefilter() - abort", 1, {
setup: function() {
jQuery.ajaxPrefilter(function( options, _, jqXHR ) {
// Ensure prefix does not throw an error
jQuery.ajaxPrefilter("+prefix *", function( options, _, jqXHR ) {
if ( options.abortInPrefilter ) {
jqXHR.abort();
}

0 comments on commit 6b7a52b

Please sign in to comment.