diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2014-03-10 15:03:03 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2014-03-10 15:03:03 +0100 |
commit | 10e654218a65ec9a0ffc875137cea945389c69f1 (patch) | |
tree | 0fac5c21c45ed218a46ab3eaeac4844921f27e49 /test/unit/ajax.js | |
parent | bb1db391cd6c6fa801762d9ad6e9c8fc10311477 (diff) | |
download | jquery-10e654218a65ec9a0ffc875137cea945389c69f1.tar.gz jquery-10e654218a65ec9a0ffc875137cea945389c69f1.zip |
Ajax, Effects: Disable Chrome 31 workarounds
Diffstat (limited to 'test/unit/ajax.js')
-rw-r--r-- | test/unit/ajax.js | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js index 4b4e408a3..2f4bc04e5 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -1586,17 +1586,10 @@ module( "ajax", { } }); - // Support: Chrome 31. - // Chrome 31 doesn't fire Ajax requests in beforeunload event handler. - // There is no way for us to workaround it and it's been fixed in Chrome 32 - // so let's just blacklist Chrome 31 as long as it's in TestSwarm. - // See https://code.google.com/p/chromium/issues/detail?id=321241 - if ( navigator.userAgent.indexOf( " Chrome/31." ) === -1 ) { - testIframeWithCallback( "#14379 - jQuery.ajax() on unload", "ajax/onunload.html", function( status ) { - expect( 1 ); - strictEqual( status, "success", "Request completed" ); - }); - } + testIframeWithCallback( "#14379 - jQuery.ajax() on unload", "ajax/onunload.html", function( status ) { + expect( 1 ); + strictEqual( status, "success", "Request completed" ); + }); //----------- jQuery.ajaxPrefilter() |