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 6b7a52b21a5b37f110c17bf9d6c81231565a080c
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/unit/ajax.js
@@ -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.
You can’t perform that action at this time.