Commit Graph

1636 Commits

Author SHA1 Message Date
Erick Ruiz de Chavez
efc2d8b1a6 Fixing style for deferred.js unit tests. Close gh-973.
Close jquery/2012-dev-summit/#56
2012-10-16 08:24:18 -04:00
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