Rick Waldron
87bd3b5ada
Fix style nit: indent inside if statement
2012-10-15 17:21:18 -04:00
David Bonner
9104a3d5f2
Deprecate fn toggle Closes gh-970 https://github.com/jquery/2012-dev-summit/issues/24
2012-10-15 17:20:33 -04:00
Rick Waldron
d6c84c5bb5
Breakout JSONP domain-related tests
2012-10-15 17:11:21 -04:00
Timmy Willison
cc172a862b
Move deprecated.js to the bottom of the build to ensure nothing depends on a deprecated feature
2012-10-15 16:51:16 -04:00
Rick Waldron
e092b64195
Don't try to be dynamic, just get the damn job done. Expects = 30.
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-10-15 16:04:02 -04:00
Rick Waldron
a0cbf60192
Split failing cross domain tests into two separate test bodies.
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-10-15 16:00:50 -04:00
Erick Ruiz
be1f1d7b5b
Fixing style for test unit ajax.js. https://github.com/jquery/2012-dev-summit/issues/56
2012-10-15 15:53:39 -04:00
Rick Waldron
f3323901f9
Adds missing expect() call in test/unit/support.js, fixes failing IE tests
2012-10-15 14:09:03 -04:00
Rick Waldron
8a4dc3657e
Adds missing expect() call, fixes failing IE tests
2012-10-15 14:04:58 -04:00
James Huston
b36d58d4e8
Enforce expects in ajax.js ( https://github.com/jquery/2012-dev-summit/issues/53 ) Closes gh-964
2012-10-15 12:37:02 -04:00
Rick Waldron
611d7660cd
Remove duplicate expect. Add QUnit.config.requireExpects to testrunner.js QUnit configurations.
2012-10-15 12:31:27 -04:00
James Huston
0c44743496
Enforce expects in manipulation.js ( https://github.com/jquery/2012-dev-summit/issues/53 ) Closes gh-963
2012-10-15 12:19:20 -04:00
James Huston
435fbe1793
Enforce expects in events.js ( https://github.com/jquery/2012-dev-summit/issues/53 ) Closes gh-962
2012-10-15 12:18:14 -04:00
James Huston
6ac8716789
Enforce expects in events.js ( https://github.com/jquery/2012-dev-summit/issues/53 ) Closes gh-961
2012-10-15 12:16:49 -04:00
James Huston
57aa7977dd
Enforce expects in effects.js ( https://github.com/jquery/2012-dev-summit/issues/53 ) Closes gh-960
2012-10-15 12:14:54 -04:00
James Huston
c2a6bad60a
Enforce expects in css.js ( https://github.com/jquery/2012-dev-summit/issues/53 )
2012-10-15 12:11:20 -04:00
Dave Methvin
5a21150c9b
Skip jQuery.sub() test since IE6 can't handle it.
2012-10-09 20:42:33 -04:00
Dave Methvin
fde2e44f86
Break big-html check into its own test for IE6.
2012-10-09 20:06:47 -04:00
Timo Tijhof
7e8b854152
Test: Clean up and fix misc issues
...
* 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
2012-10-09 20:06:31 -04:00
jaubourg
bb38f70646
Do not iterate over functions. Fixes #12665 . Unit tests added. Thanks to @kselden for finding the bug.
2012-10-06 22:00:43 +02:00
Richard Gibson
cfe95a8643
fix failure from bad markup leaving an element behind. Closes gh-946
2012-10-05 20:31:43 -04:00
Rick Waldron
60f546acb1
body default display is always block. @mikesherov was right and this is the proof. Fixes #10227
2012-10-04 13:25:50 -04:00
Richard Gibson
425d17de83
Fix #12583 : Don't ignore disabled property of select-one, close gh-932.
2012-10-03 21:14:08 -04:00
Richard Gibson
da3ff3afe4
Fix #12637 : restore 1.8.1 ajax crossDomain logic. Close gh-944.
2012-10-03 21:07:50 -04:00
Dave Methvin
ebf4d43011
Revert "Chrome fails in ajax.js tests because TestSwarm/Ngnix won't give HEAD requests any respect. Skip them rather than hear Swarmy call FAILURE on each run."
...
This reverts commit 9c5089a60d
.
These were not the droids we were looking for. Actually caused by a BrowserStack issue.
2012-09-30 22:23:02 -04:00
Dave Methvin
631fbc769c
Since .getAttribute() returns strings, we should check for them.
2012-09-30 22:19:31 -04:00
Mike Sherov
9ced027465
Fix #12537 , element.css('filter') returns undefined in IE9. Close gh-942.
2012-09-30 22:14:49 -04:00
Mike Sherov
f9ef91d6d6
Fix #10943 , tabindex not set properly on clone in IE7. Close gh-937.
...
This is only a unit test fix because the bug was tangentially fixed by a different commit
2012-09-30 20:40:45 -04:00
Timmy Willison
6ad4a0ef34
Update Sizzle: fix a failing test in traversing. Move an attribute selector test to jQuery-only.
2012-09-19 20:46:18 -04:00
Dave Methvin
b0a352bfa7
Fix #12534 . Don't die on browsers lacking getBoundingClientRect.
2012-09-13 18:47:07 -04:00
jaubourg
74cdd78497
deferred.promise(obj) should work with non-objects. Fixes #12521 . Much needed unit tests added!
2012-09-13 15:44:12 +02:00
Dave Methvin
9c5089a60d
Chrome fails in ajax.js tests because TestSwarm/Ngnix won't give HEAD requests any respect. Skip them rather than hear Swarmy call FAILURE on each run.
2012-09-11 15:42:10 -04:00
Markus Staab
b62e552291
Fix #12554 . Sanitize data from POST. Close gh-908.
2012-09-09 22:03:25 -04:00
Dave Methvin
2a1e5eccf5
Shim/shiv the datalist element for crabby Uncle oldIE.
2012-09-05 22:01:35 -04:00
Dave Methvin
705755ce48
Update to QUnit 1.10.0
2012-09-05 16:22:40 -04:00
Mike Sherov
670e3ff040
Fix #12243 , $("col").width() should return the column's width. Close gh-916.
2012-08-29 12:34:12 -04:00
Dave Methvin
b6a7d022ee
Fix #12347 and #12384 . Use a fresh div in jQuery.clean each time.
...
Regression was introduced in 22ad8723ce
most likely because the clown who fixed http://bugs.jquery.com/ticket/4011 didn't add a unit test.
2012-08-28 17:02:01 -04:00
Dave Methvin
84e45301c5
Update placeholder references to tickets.
2012-08-28 10:09:22 -04:00
Dave Methvin
afd717df9e
Fix #12383 . All selectors should be delegateTarget-relative
2012-08-28 10:07:16 -04:00
Dave Methvin
05337e78fa
Revert "Fix #11586 . Ajax DELETE ain't got no body, so data goes to its URL."
...
This reverts commit c01e022f33
.
We actually changed DELETE to accept a body on purpose, see http://bugs.jquery.com/ticket/7285 .
2012-08-24 11:59:01 -04:00
Dave Methvin
a5be986206
Revert "Fix #12120 . Always stack .before/.after, and fix disconnected nodes."
...
This reverts commit e2eac3f4d2
.
There is a 1.7 regression with isDisconnected() that we should fix before tackling this.
2012-08-24 11:57:48 -04:00
Dave Methvin
e2eac3f4d2
Fix #12120 . Always stack .before/.after, and fix disconnected nodes.
2012-08-23 23:25:57 -04:00
Dave Methvin
2263134b22
Fix #10863 . Allow newlines in JSON data- attributes.
2012-08-23 22:19:06 -04:00
Dave Methvin
c01e022f33
Fix #11586 . Ajax DELETE ain't got no body, so data goes to its URL.
2012-08-23 21:33:29 -04:00
Mike Sherov
a9c2a9bf61
Scorch the earth and retreat on readyState interactive! Close gh-907.
2012-08-23 20:28:22 -04:00
Elijah Manor
10901f7d9f
Fix #12266 . IE9/10 says document[0] is document.frames[0]? Close gh-903.
2012-08-22 21:48:02 -04:00
Dave Methvin
ae1d2b3173
Neuter the partialLoadReady test until it's ngnix-ready
2012-08-22 21:47:59 -04:00
Richard Gibson
9e246dd7fa
Fix #12350 : jQuery.trim should remove BOM
2012-08-21 08:59:51 -04:00
Dave Methvin
ac043b1bc8
Revert "Fix #12350 . Remove BOM in jQuery.trim. Close gh-897."
...
This reverts commit 2b5b4ebbd7
.
String.prototype.trim doesn't trim BOM in Safari 5.0 so this won't work without additional feature detects.
http://swarm.jquery.org/result/165379
2012-08-20 09:33:35 -04:00
Mike Sherov
0f553ed0ca
Fix #12282 . IE has premature .readyState == "interactive". Close gh-901.
2012-08-20 08:16:07 -04:00
Mike Sherov
ad040181dc
Fix #12283 . Return null for dimension getters on non elements. Fix gh-900.
2012-08-19 22:58:05 -04:00
Mike Sherov
9f86dc922e
Fix #12324 , line-height "normal" isn't always "1". Close gh-898.
2012-08-19 22:46:06 -04:00
Wesley Walser
2b5b4ebbd7
Fix #12350 . Remove BOM in jQuery.trim. Close gh-897.
2012-08-19 22:39:16 -04:00
Corey Frang
0fea007a1a
Fix #12273 . Don't call easing functions for duration 0 animations. Close gh-895.
2012-08-19 22:09:08 -04:00
Corey Frang
3812f9436d
Fix #12278 . Promises on non-default queue wait until a dequeue is attempted on an empty queue. Close gh-893.
2012-08-19 21:48:52 -04:00
Dave Methvin
2b2ca8baa3
Don't expect QUnit to clean up jQuery internal data. Close gh-883.
2012-08-19 21:09:13 -04:00
Elijah Manor
488e502b98
Improve oldIE unit tests for fuzzy object clone. Close gh-880.
...
Related to the patch in gh-870.
2012-08-19 20:56:41 -04:00
Nikita Govorov
ff7b7cfd1d
Fix #12149 . Avoid memory leak on oldIE change events. Close gh-878.
2012-08-19 20:24:03 -04:00
jaubourg
9d07525a71
Makes sure "adding" a string to a Callbacks object doesn't cause a stack overflow, just ignore the value like 1.7.x righfully did. Fixes #12233 . Unit tests added.
2012-08-16 19:12:59 +02:00
jaubourg
b292c4c2df
Calling load with null as the data parameter now properly issues a GET request, not a POST request. Unit tests added. Fixes #12234 .
2012-08-16 16:45:18 +02:00
Dave Methvin
77412e0305
Wait for both .stop() tests to finish, don't count on timing.
2012-08-09 21:30:51 -04:00
Richard Gibson
ba6372d968
No ticket: fix failure from zero-assertion test generating a second empty OL element. Closes gh-888
2012-08-09 10:42:09 -04:00
Dave Methvin
1d8bf0a2b5
Fix #12203 . .undelegate() should not remove direcly bound events.
2012-08-07 20:49:34 -04:00
Timmy Willison
e07b444dfe
Fix a regression where has with multiple contexts was not filtering correctly. Test added.
2012-07-27 18:19:18 -04:00
Corey Frang
0a1be437ff
Adding a check for double progress call in effects units
2012-07-25 21:33:58 -05:00
Daniel Chatfield
155855b2a9
Fix #12127 , fer real. IE9/10 check state on clone. Close gh-875.
2012-07-25 22:23:24 -04:00
Dave Methvin
a475f1aa4d
Pull in unit tests from gh-877, thanks @orkel!
2012-07-25 21:58:59 -04:00
Dave Methvin
d4ec6804e8
Give .stop() queue animations more leeway for Stutterin' Swarmy.
...
This test sometimes fails with only 2 animations left in the queue, so this extends the first animation in case we're running afoul of the one-second rule for background windows.
2012-07-25 21:33:30 -04:00
Dave Methvin
ed898c62c8
Fix #12148 . Let .toggle() call the public .hide() for punching.
...
There is a slightly shorter way to do this but it's not Closure-friendly.
2012-07-25 21:24:49 -04:00
Corey Frang
f0432d54f6
This should repair the unit
2012-07-25 15:36:21 -05:00
Corey Frang
81432c8835
Trying to repair a unit
2012-07-25 15:18:25 -05:00
Timmy Willison
17a26f5bd9
Fail silently if closest is somehow called on a document. Fixes #10726 .
2012-07-25 16:05:59 -04:00
Dave Methvin
3478cbb4d4
Remove IE8 testswarm hacks for offset.
2012-07-25 15:42:53 -04:00
Dave Methvin
de213be372
Revert "Fix #12127 . IE9/10 checks fall off the box on clone. Close gh-873."
...
This reverts commit 569d064fc9
.
Causing test fails in Safari, IE6, and IE7.
2012-07-25 14:38:55 -04:00
Dave Methvin
bc07ae8c1d
Loosen the ajax statusText check so Safari AND Chrome pass.
2012-07-25 14:31:21 -04:00
Dave Methvin
ce15bd7d0c
Fix #7579 . Don't convert to number if it changes the string. Close gh-852.
...
Net effect here is that hex numbers and most exponential-format numbers or long sequences of digits will remain strings rather than being coerced to numbers. `The people have spoken.
2012-07-25 10:28:50 -04:00
Daniel Chatfield
569d064fc9
Fix #12127 . IE9/10 checks fall off the box on clone. Close gh-873.
2012-07-25 09:32:33 -04:00
Timmy Willison
d8aa8e71b0
Sizzle: fix issue with adjusting the context on relative combinators in element-rooted qSA
2012-07-23 14:51:55 -04:00
Richard Gibson
e761e0c6e0
Support event delegation with relative selectors. Fixes #10762 . Closes gh-860.
2012-07-23 12:49:45 -04:00
Mike Sherov
aa3fabce46
Fix #12088 , Safari 5 and more percentages in getComputedStyle
...
In particular, min-width and max-width are taunting the awesome hack. Closes gh-865.
2012-07-22 22:03:27 -04:00
Richard Gibson
ff7a434562
Really support subproject tests in testswarm, closes gh-868
2012-07-22 21:49:39 -04:00
Corey Frang
94924a05de
Fix the logic to set overflow:hidden on width & height animations - Fixes #12117 - Closes gh-869
2012-07-20 18:36:55 -05:00
Dave Methvin
3016872220
Let subproject tests use their own test fixture. Closes gh-867.
2012-07-19 22:02:37 -04:00
jaubourg
ced5e9037a
Extracts the serialization code from the ajax module so that alternative ajax implementations can use it without the need for the whole ajax module to be included in the build.
2012-07-13 09:47:43 +02:00
Dave Methvin
2d09e9a325
Image location is relative to css file, not html file.
2012-07-12 11:57:28 -04:00
Dave Methvin
8f1f88a5da
Update to QUnit 1.9.0
2012-07-12 11:37:25 -04:00
Richard Gibson
60e249437c
Followup on #10791 : "[class~=foo]" is better. Closes gh-858.
2012-07-12 10:08:24 -04:00
Dave Methvin
f4e5c1729a
Fix #11547 . toLowerCase not work good on XML attributes.
...
This was fixed to some extent in gh-724 but there were insufficient test cases. Removing the lowercase completely allows IE 6/7 to work properly since there you need an exact case match for attributes, even in HTML docs. More discussion and test cases in the comments on gh-724.
2012-07-11 23:09:07 -04:00
Richard Gibson
d67c2fd863
Wontfix #10791 : please use "[class=foo]" with SVG elements
2012-07-11 17:17:47 -04:00
Dave Methvin
335bdf2b1a
Remove a few stray spaces in unit tests.
2012-07-10 21:44:03 -04:00
Dave Methvin
f73b947926
You can't hurry tests, no, you just have to wait.
...
The 100ms here is just too fast and flakey, it causes random fails in swarmy runs.
2012-07-10 12:52:21 -04:00
Uri Gilad
f843a7062f
Fix #10517 . before() and after() on disconnected node should return multiple nodes. Closes gh-851.
2012-07-10 10:14:43 -04:00
Uri Gilad
21b0db7993
Fix #11962 . Standardize getter return values for empty sets.
2012-07-09 23:06:51 -04:00
Richard Gibson
376f4e8cf6
Fix #11971 unit test in browsers lacking backgroundPositionX.
...
Closes gh-850.
2012-07-09 22:40:35 -04:00
Mike Sherov
f5fd41252e
Fix #12018 , readyState "interactive" in oldIE lies! Closes gh-848.
2012-07-06 10:12:20 -04:00
Nowres Rafid
aaf134bb70
Fix #8482 , offsetParent should not return null. Closes gh-847.
2012-07-06 10:01:32 -04:00
Richard Gibson
1793eab32b
Fix #11971 : force numeric animation start to be numeric, closes gh-836.
2012-07-05 21:38:17 -04:00
Dave Methvin
cdd5132dcc
Fix #12026 . Let props in $(html, props) be any jQuery.fn method.
...
Closes gh-839.
2012-07-05 17:21:58 -04:00
Chad Killingsworth
de9bed319e
Make unit tests friendly to Closure Compiler. Closes gh-845.
...
Conflicts:
test/unit/effects.js
test/unit/offset.js
2012-07-05 15:52:42 -04:00
Dave Methvin
703f274ad4
Ever notice that static and problematic rhyme?
2012-07-03 22:54:59 -04:00