mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Adjust prefilter test to error on string indexing in oldIE
This commit is contained in:
parent
679536ee4b
commit
6b7a52b21a
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user