Commit Graph

64 Commits

Author SHA1 Message Date
jaubourg
974637d639 Simplified headers tests: removed multiline headers (support is far too servers & browsers dependant) and made all the tests in a single request. 2010-12-11 02:41:39 +01:00
jaubourg
0b0889ceaa Tweaked the headers test to be apache independent and actually work. 2010-12-11 02:21:54 +01:00
jaubourg
9b9d270e3d Removed non-standard (and not that useful) xhr emulation methods & reworked the headers test as a consequence. 2010-12-10 02:45:08 +01:00
jaubourg
ab3ba4a812 Rewrite of the Ajax module by Julian Aubourg. Some (dated) details can be found here: http://oksoclap.com/6Y26bm1ZsB more details are forthcoming. Fixes #7195. 2010-12-09 13:34:28 -05:00
Henri Wiechers
e1d6edf822 Convert test/data/text.php to use lf line endings. 2010-11-12 07:45:24 +02:00
Colin Snover
0cdcef5b36 Update $.fn.animate to change display mode only when necessary (inline, non-floated elements), and to use a more proper display mode for those elements. Fixes #2185. 2010-10-05 13:28:43 -05:00
John Resig
42aa714fb7 Removing the old cow image from the effects tests - it's no longer needed. Fixes #7086. 2010-09-26 20:47:19 -04:00
John Resig
ba9e0fc177 Use a different workaround for detecting when Opera finds a status 304 page. Fixes #6060. 2010-09-21 15:22:34 -04:00
jzaefferer
646fbea561 Moving jQuery-core specific resets from QUnit to core. 2010-07-27 12:50:08 +02:00
jeresig
c90d609c0d Fixing request data param issue. Thanks to mislav for the patch. Fixes #5123. 2010-06-14 23:08:28 -04:00
Brandon Aaron
d6f03aa0df Merge branch 'master' of github.com:jquery/jquery 2010-03-27 18:58:55 -05:00
jeresig
298c81a844 Need to expose the isLocal change globally as well. 2010-03-24 16:16:13 -04:00
jeresig
59124f92b5 Temporarily disable ajax tests when running in TestSwam. 2010-03-24 16:04:10 -04:00
Brandon Aaron
efea0f23f9 Merge branch 'master' of github.com:jquery/jquery 2010-03-23 22:40:38 -05:00
jeresig
96ea3d615e Make sure the offset tests work without a built jQuery file. 2010-03-23 16:37:40 -04:00
jeresig
2301e2a1c3 Update the TestSwarm URL to point to the new jQuery swarm location. 2010-03-23 15:21:42 -04:00
jeresig
f6a50cacd8 Handle auto-running of the TestSwarm injection script in the test suite. 2010-03-23 12:19:47 -04:00
Brandon Aaron
656fe92178 Fixed an issue with setting offset of absolutely positioned element that has no position values ("auto"). Fixes #5781. 2010-03-22 20:11:37 -04:00
Paul Irish
f14fadef73 adding extra useragents from trac tickets. correcting opera version 2010-01-12 11:42:30 +08:00
jeresig
308d6cdad0 Make sure that a parsererror is thrown whenever malformed JSON comes back from a server (so that the Ajax error handler is called). Makes it uniform across browsers that do and don't have JSON.parse support. 2010-01-07 12:21:58 -05:00
jeresig
6861b5d4eb Added in support for content-type sniffing for scripts. Fixes #5718. 2010-01-06 10:19:38 -05:00
Rick Waldron
787f271052 Detect JSON Ajax requests by the response content-type (like is done with XML). Fixes #5709. 2010-01-05 19:48:16 -05:00
jeresig
ffb1867a43 Rewrite of jQuery.browser to become engine-centric, rather than browser-centric. Also attempt to determine the engine version in a smarter fashion, less prone to error. Finally, enhanced the test suite with 255 useragent strings from http://user-agent-string.info/download for testing. jQuery.browser.safari is now deprecated, use jQuery.browser.webkit instead. 2010-01-05 17:01:20 -05:00
Mark Gibson
ef819c91b9 Fixing endlines. 2009-11-25 12:09:53 -05:00
John Resig
449e099b97 Landing tweak from 'haruka' that fixes non-pixel fontSize values in IE. Fixes #760. 2009-11-11 14:17:16 -05:00
John Resig
0256edbd6f Moved the jQuery-specific test suite CSS into a separate file. 2009-09-29 22:09:21 +00:00
John Resig
dfeb8140fa Fixed the q() method to use same instead of isSet. 2009-09-29 21:22:35 +00:00
John Resig
f8b7d391e6 Moved some jQuery-specific test methods into the core module. 2009-09-29 18:11:10 +00:00
John Resig
8df82d2b04 Moved the init test script off into a separate file. 2009-09-29 18:06:16 +00:00
Brandon Aaron
daffb954e3 offset is now a setter 2009-09-15 19:15:04 +00:00
John Resig
c3c94823f2 Fixed the handling of .status == 304 in Opera (it always returns 0). Also silently "pass" in Opera 9.6 (which is unable to send the correct headers with setRequestHeader). Follow-up to bug #4764. 2009-07-14 21:13:23 +00:00
John Resig
28ab4d3224 Adding support for etags in $.ajax() - and simplified the if-modified-since implementation. Thanks to Lawrence for the patch! Closes ticket #4764. 2009-06-15 13:36:12 +00:00
John Resig
048fc4555f Added support for class selectors and class attribute selectors on XML documents. Fixes jQuery bug #4167. 2009-02-16 18:23:59 +00:00
Ariel Flesler
afb05081c0 testrunner: Putting back the global variables used for ajax tests. I added many calls to delete though. The global namespace must be cleaned up before calling start() again. 2009-01-10 00:16:48 +00:00
Ariel Flesler
d62875fb01 testrunner: Removing every global variable leaked within (and outside) tests. Some were deleted and some saved within the jQuery namespace. 2009-01-09 23:49:18 +00:00
Brandon Aaron
5c21e44fce new offset method, faster and no more browser detection 2008-11-10 02:39:03 +00:00
Jörn Zaefferer
db63af1068 core/test: replaced local qunit copy with qunit via svn:externals; inlined styles specific to polluted.php; kept testrunner.js with just the noConflict call 2008-08-08 17:42:52 +00:00
Ariel Flesler
febe463cc2 test runner: closes #3048. The text from the tests, is html-escaped. 2008-06-17 20:11:47 +00:00
Scott González
24eb176f0c ajax tests: Replaced $ with jQuery. 2008-06-05 18:11:29 +00:00
Ariel Flesler
9e48649729 test runner: the changes are:
- Replaced all the $ for jQuery in the tests and suite.
- Added a noConflict to testrunner.js.
- Modified the test for noConflict() so that it still work.
- Added jQuery 1.2.1 and 1.2.3 to otherlibs.
2008-05-28 23:18:25 +00:00
Ariel Flesler
52fbe5d2a8 test runner: adding a new test page called 'polluted'. Where one can choose to pre-include other libraries and run the test suite with them. 2008-05-28 20:19:18 +00:00
Ariel Flesler
c6e88b16e9 test runner: a test for load() with a hash of data, and another for load() with a string of data (#1516).
It includes a php that dumps all the GET and POST vars to html elements, where the key makes the id, and the value the text.
2008-05-27 22:46:28 +00:00
Brandon Aaron
2c2a6253e3 Updating unit tests for offset 2008-05-15 23:36:06 +00:00
Brandon Aaron
de6520b50e Added some unit tests for position method. Fixed issue with position in IE. 2008-05-15 19:38:00 +00:00
Ariel Flesler
16f6b3684d test runner: when errors are thrown in a test, the message is successfully show on all browsers. 2008-05-12 22:31:27 +00:00
Jörn Zaefferer
aec0dad980 jquery core: reverted qunit introduction until build scripts are updated 2008-05-08 21:42:40 +00:00
Jörn Zaefferer
b6bb0d46b6 jquery testsuite: switch to qunit 2008-05-08 19:33:49 +00:00
Jörn Zaefferer
46931d3146 jquery ajax: support for dynamic data arguments, see #2806; added test/data/echoQuery.php for easier testing of sent query strings 2008-05-06 22:21:43 +00:00
Jörn Zaefferer
1753ab3d82 jquery testrunner: reset $.ajaxSettings after each run to prevent sideeffects between tests 2008-05-06 19:39:58 +00:00
Jörn Zaefferer
d726a96b1f jquery testrunner: reset global events after each run, speeds up a test run for ajax from 16s to 10s (test/?ajax), kudos to Ariel 2008-05-05 23:29:28 +00:00