timmywil
3ee332b238
Minor test suite adjustments
2012-05-28 12:43:41 -04:00
Mike Sherov
54fab3174c
Fix #10067 . Create jQuery.quickReady; closes gh-736.
...
Allows us to get to the ready state sooner by not waiting for iframes to load. If that causes backcompat pain, use `jQuery.quickReady = false` as prescribed by your developer.
2012-04-23 15:44:27 -04:00
Yehuda Katz
6bc08c2b2f
Remove Ajax requirement for simple XML tests
...
Previously, all jQuery tests that wanted an XML
document would make an Ajax request to go through
jQuery's XML parsing logic in jQuery.ajax. Now,
use jQuery.parseXML instead.
This removes the need for the Ajax server for
these tests, improves their performance, and
decouples simple core tests from Ajax.
(with scottgonzalez)
2012-04-15 17:41:54 -04:00
jaubourg
ae138ac6d1
Makes sure start is always called with default context and no arguments. Should stop FF from acting up. Hopefully, this ugly patch can be removed in the future.
2012-03-07 18:23:46 +01:00
Mike Sherov
f36568324d
fixes #10693 , generalizes the "test something in an iframe" code when a callback isn't needed
2012-02-23 22:55:20 -05:00
Mike Sherov
7226cf2800
fixes #10901 , PHP required for unit tests, but still allow the tests to run
2012-02-16 23:17:57 -05:00
Mike Sherov
f35ba5e699
Fix #10691 . Remove all instances of equals() and same(), as these are deprecated in QUnit.
2011-11-06 15:27:42 -05:00
timmywil
38f087b5ae
Add a way to fire native events using dispatchEvent/fireEvent in testinit.js; fixes failing click test in FF3.6
2011-10-28 14:17:14 -04:00
jrburke
bba3d610c7
Landing pull request 331. Add support for registering jQuery as an AMD module. Fixes #7102 .
...
More Details:
- https://github.com/jquery/jquery/pull/331
- http://bugs.jquery.com/ticket/7102
2011-09-19 16:37:22 -04:00
timmywil
92405d4f5f
Override Sizzle attribute retrieval with jQuery.attr. Fixes #5637 , #7128 , #9261 , #9570 , #10178 .
...
Bug fixed on the side: $(window).is('a') was throwing an exception. Fixes #10178 .
2011-09-19 15:42:30 -04:00
jrburke
0b1c2e642a
Add support for registering jQuery as an AMD module. Only does so if the AMD loader indicates it has special allowances for multiple versions of jQuery being loaded in a page.
2011-04-16 20:35:18 -07:00
Colin Snover
e2941d5a98
Update unit tests with a leak detection mechanism for the various jQuery globals and fix all leaks in the tests.
2011-01-09 15:58:47 -06:00
wycats
ae6655bcb6
Revert "Register as a CommonJS async module if in that kind of environment. Fixes #7102."
...
This reverts commit 6ffa730721
.
Conflicts:
src/core.js
2011-01-05 13:26:05 -08:00
jrburke
6ffa730721
Register as a CommonJS async module if in that kind of environment. Fixes #7102 .
2010-12-27 13:03:27 -06: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