From f37fc9966e40b73dd4018872343b4b4ea36c4d46 Mon Sep 17 00:00:00 2001 From: jaubourg Date: Sat, 27 Aug 2011 01:54:12 +0200 Subject: [PATCH 1/2] Considers Safari XMLHttpRequest's bug when testing for custom status text. Will have to be revisited when $.browser.chrome is introduced. --- test/unit/ajax.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/ajax.js b/test/unit/ajax.js index ed6acda92..f871da723 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -2096,10 +2096,10 @@ test( "jQuery.ajax - statusText" , 4, function() { stop(); jQuery.ajax( url( "data/statusText.php?status=200&text=Hello" ) ).done(function( _, statusText, jqXHR ) { strictEqual( statusText, "success", "callback status text ok for success" ); - strictEqual( jqXHR.statusText, "Hello", "jqXHR status text ok for success" ); + ok( jqXHR.statusText === "Hello" || jQuery.browser.safari && jqXHR.statusText === "OK", "jqXHR status text ok for success (" + jqXHR.statusText + ")" ); jQuery.ajax( url( "data/statusText.php?status=404&text=World" ) ).fail(function( jqXHR, statusText ) { strictEqual( statusText, "error", "callback status text ok for error" ); - strictEqual( jqXHR.statusText, "World", "jqXHR status text ok for error" ); + ok( jqXHR.statusText === "World" || jQuery.browser.safari && jqXHR.statusText === "Not Found", "jqXHR status text ok for error (" + jqXHR.statusText + ")" ); start(); }); }); From 20a1bd00eaae42dc729ef8f8224cceffc67ee90a Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Mon, 29 Aug 2011 13:39:04 -0400 Subject: [PATCH 2/2] Updating the source version to 1.6.3 --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index 39843d0a7..f5d2a5858 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.6.3rc1 \ No newline at end of file +1.6.3 \ No newline at end of file