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
Ariel Flesler
ba391eccf9
- Adding the enhancements to the test runner, to accept multiple(and negative) filters from the GET variables, as specified in the ticket #2738 .
2008-04-24 21:32:35 +00:00
Jörn Zaefferer
f12d94a628
testrunner: refactored url-test-filter, still regex based
2008-04-24 20:08:50 +00:00
Jörn Zaefferer
f861c88b1b
jquery testrunner: accept regexp to select tests, eg. /test/?^core|^selector to run both core and selector module
2008-04-22 22:43:18 +00:00
Brandon Aaron
58c640fb1c
Added more unit tests for offset. Fixed an offset issue relating to table header cells in Opera
2007-12-12 16:55:55 +00:00
Brandon Aaron
b3ec8edddd
show is now element aware ( #960 )
2007-12-08 04:54:53 +00:00
David Serduke
74a132d944
Fixed #1264 . If you read the bug there were many proposed changes. As it turned out most of them had already been implemented. The last ones necessary were in .domManip() with when a <table> was 'this' and for .text(). Adding these last changes seems to make dom and text manipulation in IE frames possible. Unit test cases were added as well.
...
In addition "submit.gif" was removed from the test suite index.html since it didn't exist.
2007-12-05 00:26:13 +00:00
Brandon Aaron
c424e79ccb
Added another relative offset test
2007-12-04 21:29:28 +00:00
Brandon Aaron
4fc2971019
Added visual marker to absolute fixture for offset testing
2007-12-04 20:59:33 +00:00