diff options
author | Oleg <markelog@gmail.com> | 2013-12-22 08:53:19 +0400 |
---|---|---|
committer | Oleg <markelog@gmail.com> | 2014-01-14 00:38:38 +0400 |
commit | 06ee2c16f1c466a77fb25e07991e5adaa3385656 (patch) | |
tree | b9359a85fa5162faa042845d0badd5ad61b9c7f3 /test/unit | |
parent | f1af3c23f9fbef69b69868773fd01b4950ae2f9f (diff) | |
download | jquery-06ee2c16f1c466a77fb25e07991e5adaa3385656.tar.gz jquery-06ee2c16f1c466a77fb25e07991e5adaa3385656.zip |
Ajax: support non-RFC2616 methods for oldIE
Closes gh-1466
Fixes #13240
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/ajax.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js index 766a1b6a9..c52f1cdd9 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -1575,6 +1575,17 @@ module( "ajax", { } } ); + ajaxTest( "#13240 - jQuery.ajax() - support non-RFC2616 methods", 1, { + url: "data/echoQuery.php", + method: "PATCH", + success: function() { + ok( true, "success" ); + }, + error: function() { + ok( false, "error" ); + } + }); + // 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 |