diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2014-10-27 18:36:07 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2014-11-03 18:37:26 +0100 |
commit | 740e190223d19a114d5373758127285d14d6b71e (patch) | |
tree | f449fdea7a436cdabf7d6f764454887791d010a6 /test/unit/ajax.js | |
parent | 758fd6cea9e82f7bfebce07ba6ecf0d107e8a53c (diff) | |
download | jquery-740e190223d19a114d5373758127285d14d6b71e.tar.gz jquery-740e190223d19a114d5373758127285d14d6b71e.zip |
Misc: Drop support for older browsers; update support comments
That includes Opera 12.x, Firefox<29, Safari<6.0 and some hacks
for old Blackberry.
Closes gh-1820
Refs gh-1815
Diffstat (limited to 'test/unit/ajax.js')
-rw-r--r-- | test/unit/ajax.js | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js index d61d6b40d..6f3bacebe 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -1019,9 +1019,6 @@ module( "ajax", { " (no cache)": false }, function( label, cache ) { - // Support: Opera 12.0 - // In Opera 12.0, XHR doesn't notify 304 back to the user properly - var opera = window.opera && window.opera.version(); jQuery.each( { "If-Modified-Since": "if_modified_since.php", @@ -1041,15 +1038,9 @@ module( "ajax", { ifModified: true, cache: cache, success: function( data, status, jqXHR ) { - if ( status === "success" && opera === "12.00" ) { - strictEqual( status, "success", "Opera 12.0: Following status is 'success'" ); - strictEqual( jqXHR.status, 200, "Opera 12.0: XHR status is 200, not 304" ); - strictEqual( data, "", "Opera 12.0: response body is empty" ); - } else { - strictEqual( status, "notmodified", "Following status is 'notmodified'" ); - strictEqual( jqXHR.status, 304, "XHR status is 304" ); - equal( data, null, "no response body is given" ); - } + strictEqual( status, "notmodified", "Following status is 'notmodified'" ); + strictEqual( jqXHR.status, 304, "XHR status is 304" ); + equal( data, null, "no response body is given" ); }, complete: function() { start(); |