diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2014-03-10 14:56:42 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2014-03-10 14:57:40 +0100 |
commit | b19d4d3450c385b7074035b17f3ba8d0b86cf0b0 (patch) | |
tree | 13e7a105ae9aa604d909841399555728b40624df /test/unit/ajax.js | |
parent | a96d5bed58f2b30f97d6dd2f5691cd890f62b75f (diff) | |
download | jquery-b19d4d3450c385b7074035b17f3ba8d0b86cf0b0.tar.gz jquery-b19d4d3450c385b7074035b17f3ba8d0b86cf0b0.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 a07749fc6..c099e12b1 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -1532,17 +1532,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" ); + }); ajaxTest( "#14683 - jQuery.ajax() - Exceptions thrown synchronously by xhr.send should be caught", 4, [ { |