aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
Commit message (Collapse)AuthorAgeFilesLines
* Fix #13596; #13722: .replaceWith consistency. Close gh-1216.Richard Gibson2013-04-162-2/+5
|
* Correct spacing.Michał Gołębiowski2013-04-153-58/+58
|
* Update jshintrc to conform to new style guide. Conform to onevar and unused ↵Timmy Willison2013-04-093-73/+70
| | | | in tests. Fixes #13755.
* Fix #13393. Avoid IE9 activeElement of death.Dave Methvin2013-04-081-0/+16
|
* Fix #13655. Add test for jQuery.ready.promise fallback load. Close gh-1209.Michał Gołębiowski2013-04-042-0/+38
|
* Fix #13543. offsetWidth is wrong on non-1 zoom. Close gh-1194.Michał Gołębiowski2013-04-031-0/+19
|
* Remove the define.amd.jQuery check, ref gh-1150.jrburke2013-02-281-3/+1
|
* Fixes #11151, #13388. Minor refactor of response conversion and when/wherejaubourg2013-02-281-0/+6
| | | | | | responseXXX fields are set on the jqXHR. Close gh-1164. (Cherry-picked from 69b3d5ce0f081d3f113b2917495f35df160f8522)
* No ticket: Revise unit tests in anticipation of Sizzle-free buildsRichard Gibson2013-02-221-12/+15
|
* Fix 363299ac failuresRichard Gibson2013-02-072-4/+7
|
* Ref #13316: Sync all documents on full vs. minified source. Close gh-1147.Richard Gibson2013-02-0722-24/+46
|
* Fix #13310. Get the right display value for disconnected nodes. Close gh-1156.Oleg2013-02-041-0/+2
|
* Avoid potential for breakage if test suite is run in a frameRick Waldron2013-02-031-1/+1
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* 2.0: Rewrite data.js (Incl. event, manipulation, tests)Rick Waldron2013-02-032-34/+60
|
* Fix #13316. Use minified version in unit testing.Dave Methvin2013-01-2618-18/+18
|
* Fix #13274: Wrap sourceMap directive in multiline comments. Close gh-1143.Richard Gibson2013-01-251-0/+22
| | | | (cherry picked from commit ac93559eb9f18fcaec95dfdc97358b1b85bfe234)
* Don't try and convert data for 204 No Content responses. Fixes #13292. Fixes ↵byroot2013-01-241-0/+5
| | | | #13261.
* Adds the abort on unload trick back in since IE9 still exhibits the bugjaubourg2013-01-071-0/+25
|
* Revert data.js rewrite.Dave Methvin2013-01-031-62/+53
| | | | | | | | | | | | | | | | | | | | | | Reverts the following commits: commit f717226b3a44f918eec30b2d59ab257270189bc3 Author: Rick Waldron <waldron.rick@gmail.com> Date: Mon Dec 31 18:06:38 2012 -0500 Only splice from internal arrays when item actually exists. commit b9cdc4136b688963d1dc4befb169be02a0216ba9 Author: Rick Waldron <waldron.rick@gmail.com> Date: Mon Dec 31 16:20:35 2012 -0500 Updates to data.js re-write to pass events and manipulation commit d1de3000c6d50c298de14fb1ae3381d75c303723 Author: Rick Waldron <waldron.rick@gmail.com> Date: Mon Dec 31 15:09:45 2012 -0500 2.0: Rewrite data.js
* 2.0: Rewrite data.jsRick Waldron2012-12-311-53/+62
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Fix #13064: better test fixture cleanup. Close gh-1075.Richard Gibson2012-12-161-2/+2
|
* Test: Update index.html to new QUnit format. Close gh-1061.Timo Tijhof2012-12-101-2/+2
| | | | Depends on jquery/sizzle#177, included with the Sizzle submodule in this commit.
* Test: Remove fixtures from QUnit.done hook. Close gh-1069.Timo Tijhof2012-12-101-0/+5
| | | | | | This fixes jquery/testswarm#197. These are currently removed from the TestSwarm injector, however this is jQuery specific, and should be done from this end instead.
* Make compatible with jshint, lint test/data. Close gh-1043.Timo Tijhof2012-12-063-10/+10
|
* Revert "Organizes the php scripts used for testing better, so that the whole ↵jaubourg2012-12-0534-126/+526
| | | | | | 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-4/+4
| | | | This reverts commit 20608b3579d70d3bac7fd74b4e11e4c08cd9d9b5.
* 228ab3d followup 1: fix test failures. Close gh-1056.Richard Gibson2012-12-051-4/+4
|
* Organizes the php scripts used for testing better, so that the whole logic ↵jaubourg2012-12-0434-526/+126
| | | | 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.
* More improvements per @jaubourgRichard Gibson2012-12-032-23/+29
|
* Improvements per @jaubourgRichard Gibson2012-12-032-2/+4
|
* No ticket: improve global variable/ajax request trackingRichard Gibson2012-12-023-33/+40
|
* sandboxes start for real this time (fixes test failures in IE)jaubourg2012-11-272-8/+8
|
* Greatly simplifies ajaxTestjaubourg2012-11-261-65/+45
|
* Total revamping of the ajax unit testsjaubourg2012-11-262-1/+100
|
* No ticket: update test suite to pass QUnit globals check in most ↵Richard Gibson2012-11-051-2/+7
| | | | environments. Close gh-1016.
* Remove gratuitous punctuationRichard Gibson2012-11-011-3/+3
|
* No ticket: remove test suite external dependenciesRichard Gibson2012-11-014-24/+23
|
* Fix testing of no-ajax custom buildsRichard Gibson2012-11-013-14/+23
|
* No ticket: fix effects test failure in IE6. Close gh-1012.Timo Tijhof2012-10-311-7/+29
|
* Implement expectation test instead of using _removeData. Close gh-997.Timo Tijhof2012-10-282-48/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removed inline usage of QUnit.reset() because it is messing with the expectation model as reset does .empty() which does a recursive cleanData on everything in #qunit-fixture, so any expectJqData above .reset() would fail negatively. Instead of calling reset inline, either updated the following assertions to take previous assertions' state into account, or broke the test() up into 2 tests at the point where it would call QUnit.reset. * After introducing the new memory leak discovery a whole bunch of tests were failing as they didn't clean up everything. However I didn't (yet) add QUnit.expectJqData calls all over the place because in most if not all of these cases it is valid data storage. For example in test "data()", there will be an internal data key for "parsedAttrs". This particular test isn't intending to test for memory leaks, so therefor I made the new discovery system only push failures when the test contains at least 1 call to QUnit.expectJqData. When not, we'll assume that whatever data is being stored is acceptable because the relevant elements still exist in the DOM anyway (QUnit.reset will remove the elements and clean up the data automatically). I did add a "Always check jQuery.data" mode in the test suite that will trigger it everywhere. Maybe one day we'll include a call to everywhere, but for now I'm keeping the status quo: Only consider data left in storage to be a problem if the test says so ("opt-in"). * Had to move #fx-tests inside the fixture because ".remove()" test would otherwise remove stuff permanently and cause random other tests to fail as "#hide div" would yield an empty collection. (Why wasn't this in the fixture in the first place?) As a result moving fx-tests into the fixture a whole bunch of tests failed that relied on arbitrary stuff about the document-wide or fixture-wide state (e.g. number of divs etc.). So I had to adjust various tests to limit their sample data to not be so variable and unlimited... * Moved out tests for expando cleanup into a separate test. * Fixed implied global variable 'pass' in effects.js that was causing "TypeError: boolean is not a function" in *UNRELATED* dimensions.js that uses a global variable "pass = function () {};" ... * Removed spurious calls to _removeData. The new test exposed various failures e.g. where div[0] isn't being assigned any data anyway. (queue.js and attributes.js toggleClass). * Removed spurious clean up at the bottom of test() functions that are already covered by the teardown (calling QUnit.reset or removeClass to supposedly undo any changes). * Documented the parentheses-less magic line in toggleClass. It appeared that it would always keep the current class name if there was any (since the assignment started with "this.className || ...". Adding parentheses + spacing is 8 bytes (though only 1 in gzip apparently). Only added the comment for now, though I prefer clarity with logical operators, I'd rather not face the yayMinPD[1] in this test-related commit. * Updated QUnit urlConfig to the new format (raw string is deprecated). * Clean up odd htmlentities in test titles, QUnit escapes this. (^\s+test\(.*)(&gt\;) → $1> (^\s+test\(.*)(&lt\;) → $1< [1] jQuery MinJsGz Release Police Department (do the same, download less)
* Fix #11542. document.body should not be special in .offset() and ↵Daniel Gálvez2012-10-241-1/+3
| | | | document.documentElement is the default element.offsetParent. Close gh-899.
* Fix #12048. Set attributes for XML fragments. Close gh-965.Sai Wong2012-10-201-0/+15
|
* no ticket: fix jQuery suite failure on AndroidRichard Gibson2012-10-171-1/+1
|
* Fixes #11635, Explicit overflow:auto is overridden by inline overflow:hidden ↵Mike Petrovich2012-10-161-0/+23
| | | | during animation, closes gh-981
* Remove duplicate expect. Add QUnit.config.requireExpects to testrunner.js ↵Rick Waldron2012-10-151-0/+3
| | | | QUnit configurations.
* Test: Clean up and fix misc issuesTimo Tijhof2012-10-092-7/+7
| | | | | | | | | | | | * Clean up testinit and testrunner * Uncomment isLocal (at least make sure it is declared) * Rephrase environment assertions to make sense if one reads them when they pass. * Optimise an expensive loop that might be the cause of this in IE6: http://cl.ly/image/3f20053m112n
* Scorch the earth and retreat on readyState interactive! Close gh-907.Mike Sherov2012-08-234-102/+0
|
* Fix #12266. IE9/10 says document[0] is document.frames[0]? Close gh-903.Elijah Manor2012-08-221-0/+36
|
* Neuter the partialLoadReady test until it's ngnix-readyDave Methvin2012-08-221-3/+3
|
* Fix #12282. IE has premature .readyState == "interactive". Close gh-901.Mike Sherov2012-08-202-1/+41
|