aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/ajax.js
Commit message (Collapse)AuthorAgeFilesLines
* Ajax: don't expect cross-origin tests run in envs which not support itOleg Gaidarenko2015-10-131-31/+20
| | | | Follow-up to b078a62013782c7424a4a61a240c23c4c0b42614
* Ajax: improve content-type detectionOleg Gaidarenko2015-10-121-1/+103
| | | | | Fixes gh-2584 Closes gh-2643
* Ajax: Mitigate possible XSS vulnerabilityOleg Gaidarenko2015-10-121-0/+48
| | | | | | | Proposed by @jaubourg Fixes gh-2432 Closes gh-2588
* Tests: further improvements QUnit 2.0 migrationOleg Gaidarenko2015-09-081-30/+44
| | | | | | | | * Remove QUnit jshint globals * Extend QUnit.assert methods * Use assert.async instead of start/stop/done Ref b930d14ce64937e9478405eee2828d4da091d2cb
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-467/+471
| | | | Fixes gh-2056
* Tests: partially use new qunit interfaceOleg Gaidarenko2015-08-161-1112/+1250
| | | | | | | | | | | | http://qunitjs.com/upgrade-guide-2.x/ For most of the boring work was used https://github.com/apsdehal/qunit-migrate package However, it can't update local qunit helpers, plus in some places old QUnit.asyncTest signature is still used Fixes gh-2540
* Tests: don't use deprecated argument in test declarationOleg Gaidarenko2015-07-301-5/+15
| | | | Closes gh-2507
* Ajax: Account for Android 2.3 not firing window.onerror on script errorsMichał Gołębiowski2015-07-281-0/+9
| | | | | | | | | | Android 2.3 doesn't fire the window.onerror handler, just accept the reality there and skip the test. Refs gh-1573 Refs gh-1786 Refs jquery/jquery.com#108 Closes gh-2458
* Ajax: Remove jsonp callbacks through "jQuery#removeProp" methodOleg Gaidarenko2015-07-131-11/+21
| | | | | Fixes gh-2323 Closes gh-2464
* Ajax: remove deprecated extensions from ajax promiseOleg Gaidarenko2015-02-171-6/+6
| | | | | Fixes gh-2084 Closes gh-2092
* Ajax: make jQuery#load "type" field explicitOleg Gaidarenko2015-02-151-1/+12
| | | | | | | | * Move "evalScript.php" file to appropriate place * Make jQuery#load "type" field explicit and add test for it Ref trac-11264
* Ajax: $.post and $.get can now take an options objectGeorge Mauer2015-01-111-0/+20
| | | | | Fixes gh-1986 Closes gh-1995
* Ajax: Fix cross-domain detection test for non-default portVictor Homyakov2015-01-061-1/+1
| | | | Closes gh-1954
* Ajax: use anchor tag for parsing urlsBen Toews2014-12-111-1/+5
| | | | | Fixes gh-1875 Closes gh-1880
* Misc: Drop support for older browsers; update support commentsMichał Gołębiowski2014-11-031-12/+3
| | | | | | | | That includes Opera 12.x, Firefox<29, Safari<6.0 and some hacks for old Blackberry. Closes gh-1820 Refs gh-1815
* Ajax: Fix for request aborted in ajaxSendDan Hart2014-11-011-0/+17
| | | | | Fixes gh-1775 Close gh-1619
* Build: Move test to appropriate moduleOleg Gaidarenko2014-06-161-0/+4
|
* Ajax: Always use script injection in globalEvalOleg Gaidarenko2014-06-161-9/+1
| | | | | Fixes #14757 Closes gh-1449
* Ajax: Support usage without jQuery.eventTJ VanToll2014-06-021-0/+16
| | | | | Fixes #15118 Closes gh-1588
* Ajax, Manipulation: don't test cross-document manip in Android 2.3Michał Gołębiowski2014-05-051-0/+6
|
* Tests: Fix failing ajax tests in oldIEOleg Gaidarenko2014-04-151-9/+13
| | | | | | (cherry-picked from the 71780965072b1271018f2cf360e82fbe31f4987e) Picked up so tests from the 1.x-master would be more similar to this branch
* Tests: Improve jsonp testsOleg Gaidarenko2014-04-151-2/+2
| | | | | Since global variable for callback always would be equal to undefined value it better to check for boolean instead
* Ajax, Effects: Disable Chrome 31 workaroundsMichał Gołębiowski2014-03-101-11/+4
|
* Ajax: .load() should trim its selectorDave Methvin2014-03-041-0/+8
| | | | Fixes #14773
* Ajax: Protect against exceptions thrown synchronously by xhr.sendjaubourg2014-01-291-0/+30
| | | | | | | | | | | When xhr.send throws an exception synchronously, the onerror handler may have been called already which, unchecked, makes the exception bubble up outside of jQuery.ajax. We now catch the exception pre-emptively and only rethrow if we know it hasn't already been notified through the onerror handler. Fixes #14683
* Ajax: don’t test jQuery.ajax() on beforeunload in Chrome 31Michał Gołębiowski2013-12-181-4/+11
| | | | | | | 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
* Ref #14503: Cherry-pick tests.hongymagic2013-11-151-5/+15
| | | | | | (cherry picked from commit 27b22f4ef5f3f291204f0e0f9f414ac503f6c8a8) (cherry picked from commit 8dc0f2ea84e1861d8d8dfa7699268368c659f8e9) (cherry picked from commit 936126f10de193e2bb1c8280dbc2361ca5d62e29)
* Fix #14379: AJAX requests on unloadRichard Gibson2013-10-281-0/+5
|
* Small adjustment to prefilter test. Follow the right path for prefixes.Timmy Willison2013-09-121-1/+2
|
* Adjust prefilter test to error on string indexing in oldIETimmy Willison2013-09-121-1/+2
|
* Handles HEAD requests as if they always were 204. Fixes #13922.Julian Aubourg2013-05-231-0/+23
|
* Update jshintrc to conform to new style guide. Conform to onevar and unused ↵Timmy Willison2013-04-091-18/+19
| | | | in tests. Fixes #13755.
* Move size() test to deprecated.js and avoid in other tests. Close gh-1237.Michał Gołębiowski2013-04-081-2/+1
|
* Improve CSS and `Support:` comments. Close gh-1220.Michał Gołębiowski2013-04-061-1/+0
| | | | | | | | 1) corrected box-sizing rules order - the unprefixed value should always be the last one 2) removed last semi-colons in CSS rules 3) updated support comments code review changes + more consistent comment spacing
* bind/unbind changed to on/off in unit tests; refs #13554Michał Gołębiowski2013-03-251-3/+3
|
* Edited comments and minor adjustments. Fixes #13553. Closes gh-1195.Michał Z. Gołębiowski2013-03-121-1/+1
|
* Fix typos. Close gh-1186.dmitrygusev2013-02-281-3/+3
|
* Fixes #11151, #13388. Minor refactor of response conversion and when/wherejaubourg2013-02-281-0/+22
| | | | | | responseXXX fields are set on the jqXHR. Close gh-1164. (Cherry-picked from 69b3d5ce0f081d3f113b2917495f35df160f8522)
* Don't try and convert data for 204 No Content responses. Fixes #13292. Fixes ↵byroot2013-01-241-0/+20
| | | | #13261.
* Fixes #13276. Unit test is enough since the 2.x XHR transport already ↵jaubourg2013-01-211-0/+16
| | | | dismissed the XML as parsed by the XHR instance.
* strengthens and dries 304 unit testsjaubourg2013-01-081-52/+34
|
* Tweaks the logic in the 304-related unit tests so that they pass for ↵jaubourg2013-01-081-41/+10
| | | | versions of Opera that support manual 304 handling as well as for those that don't
* Adds the abort on unload trick back in since IE9 still exhibits the bugjaubourg2013-01-071-0/+5
|
* 2.0: reduced xhr transportjaubourg2013-01-071-18/+20
|
* Remove invalid test "jQuery.getJSON() - Using Native JSON" from ↵Rick Waldron2012-12-311-31/+12
| | | | | | test/unit/ajax.js Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Revert "Organizes the php scripts used for testing better, so that the whole ↵jaubourg2012-12-051-694/+771
| | | | | | logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." This reverts commit 228ab3ddae527f72cc3122a1c6115d7718bcfd57.
* Revert "228ab3d followup 1: fix test failures. Close gh-1056."jaubourg2012-12-051-82/+85
| | | | This reverts commit 20608b3579d70d3bac7fd74b4e11e4c08cd9d9b5.
* 228ab3d followup 1: fix test failures. Close gh-1056.Richard Gibson2012-12-051-85/+82
|
* Organizes the php scripts used for testing better, so that the whole logic ↵jaubourg2012-12-041-771/+694
| | | | of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore.
* No ticket: improve global variable/ajax request trackingRichard Gibson2012-12-021-7/+26
|