Commit Graph

1853 Commits

Author SHA1 Message Date
jaubourg
eebc77849c Fixes #11151, #13388. Minor refactor of response conversion and when/where
responseXXX fields are set on the jqXHR. Close gh-1164.

(Cherry-picked from 69b3d5ce0f)
2013-02-28 15:01:10 -05:00
Rick Waldron
38bc968052 Old acceptData tests refactored and adapted to support new data system 2013-02-28 14:14:40 -05:00
jaubourg
0618710913 Properly resets firingLength when emptying the list. Fixes #13517 2013-02-27 16:15:32 +01:00
Nguyen Phuc Lam
8bc7bdebef Ref #13283, move .andSelf() to deprecated.js. Close gh-1170. 2013-02-26 22:57:12 -05:00
Dave Methvin
2bbc3d5860 Fix #13471. $().on(".xyz"...) should avoid later crash.
If the event type is an empty string we end up hanging in .off() which makes for
mighty hard debugging. Instead treat it as a no-op. Docs seem clear this is not
allowed.
2013-02-26 12:19:09 -05:00
Richard Gibson
59f5adb622 No ticket: Revise unit tests in anticipation of Sizzle-free builds 2013-02-22 20:13:36 -05:00
Rick Waldron
93043d002a Refactor: Data.prototype.access. Thanks to @RubyLouvre and @gibson042. Closes #1167 2013-02-13 12:14:20 -05:00
Richard Gibson
b734666f4d Fix #13265 #13332: traversing methods with text nodes. Close gh-1145. 2013-02-13 22:03:37 -05:00
Rick Waldron
1d5d959ee0 Optimized Data rewrite 2013-02-11 12:39:44 -05:00
Mark Raddatz
6a0ee2d9ed Fix #13401: replaceWith(""). Close gh-1163. 2013-02-08 09:49:14 -05:00
Richard Gibson
dc9b009c13 Fix 363299ac failures: protect Safari 5.1 from CSP 2013-02-07 23:43:21 -05:00
Richard Gibson
6971d9d8e2 Fix 363299ac failures 2013-02-07 17:03:04 -05:00
Richard Gibson
363299ac24 Ref #13316: Sync all documents on full vs. minified source. Close gh-1147. 2013-02-07 15:16:28 -05:00
Oleg
f3db084f7c Fix #13310. Get the right display value for disconnected nodes. Close gh-1156. 2013-02-04 15:22:07 -05:00
Rick Waldron
7b50c4a711 Avoid potential for breakage if test suite is run in a frame
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-02-03 17:58:07 -05:00
Rick Waldron
7f94a5cc3a 2.0: Rewrite data.js (Incl. event, manipulation, tests) 2013-02-03 15:27:55 -05:00
Rick Waldron
ed0e2d1e8a Adds test for jQuery.extend deep copy with array, followed by object. Refutes and Closes #1154 2013-02-03 12:52:08 -05:00
Richard Gibson
d12b26ced6 Upgrade QUnit: Welcome to the present! 2013-02-03 12:26:56 -05:00
Andrew Plummer
d654914fd0 event: Stricter type checking in trigger - Fixes #13360 - Closes gh-1153
Squashed commit of the following:

commit 5935a362c7
Author: Andrew Plummer <plummer.andrew@gmail.com>
Date:   Fri Feb 1 02:40:42 2013 +0900

    Using "hasOwnProperty" to check for direct properties "type" and
    "namespace" on events before triggering.
(cherry picked from commit f005af54e4)
2013-01-31 12:04:32 -06:00
Timmy Willison
d3a2ef7cfe Magic fixing for previous commit 2013-01-30 20:48:09 -05:00
Timmy Willison
f3ce0e696d Revert change to visible/hidden selectors until 1.10 and 2.1. Reopens #13132, #10406. 2013-01-30 20:37:13 -05:00
adamcoulombe
54fc5fdfa2 Fix #13150, .has() w/o args checks for any callbacks. Close gh-1111. 2013-01-27 13:35:30 -05:00
Dave Methvin
6f7b6915bf Fix #12656. Make event shorthands excludable. 2013-01-27 09:07:00 -05:00
Dave Methvin
a6c358d046 Fix #12846. Restore overflow when animation is stopped. 2013-01-26 22:02:15 -05:00
Dave Methvin
58cd84f9d5 Fix #13316. Use minified version in unit testing. 2013-01-26 10:48:10 -05:00
Richard Gibson
487b703521 Fix #13274: Wrap sourceMap directive in multiline comments. Close gh-1143.
(cherry picked from commit ac93559eb9)
2013-01-25 10:09:27 -05:00
byroot
bfc61b879e Don't try and convert data for 204 No Content responses. Fixes #13292. Fixes #13261. 2013-01-24 02:34:02 +01:00
Timmy Willison
caac041fcc Ignore file inputs when serializing forms. File input serialization is handled by plugins. Fixes #13306. 2013-01-23 12:23:46 -05:00
Timmy Willison
b326225d90 Fix failing tests, add support for empty spans in Opera. Supplements #13132, #10406. 2013-01-21 18:03:07 -05:00
Timmy Willison
372e04e78e Treat an element as hidden if either offsetWidth or offsetHeight is 0. Fixes #13132, #10406. 2013-01-21 17:12:31 -05:00
jaubourg
4c6fb65d35 Fixes #13276. Unit test is enough since the 2.x XHR transport already dismissed the XML as parsed by the XHR instance. 2013-01-21 02:53:50 +01:00
Oleg
19def21df4 Fix #13232, fix jQuery.buildFragment for tables, close gh-1138. 2013-01-20 18:30:56 -05:00
danilsomsikov
cc324abf73 Fix #8335: Avoid memory leak by never setting data on non-element non-document nodes. Close gh-1127. 2013-01-16 14:31:29 -05:00
Richard Gibson
a96aa9e270 Fix #13233: re-allow .replaceWith of text nodes. Close gh-1137.
(cherry picked from commit 6b1b0a26b4)
2013-01-16 13:57:00 -05:00
Richard Gibson
306b698813 No ticket: improve replaceWith testing
(cherry picked from commit 13468abaeb)
2013-01-16 12:31:23 -05:00
Mike Sherov
10cc33e27b Fix #13183: Wrong animation initial value calc. Ref gh-1136. 2013-01-15 23:34:22 -05:00
Richard Gibson
348e1a75c8 de486684 with moar guard for IE6
(cherry picked from commit 6c29dd24e9)
2013-01-13 23:00:14 -05:00
Richard Gibson
31b9579715 Fix #13203: delegated events with selector matching Object.prototype property 2013-01-13 21:40:24 -05:00
Richard Gibson
de486684e3 Fix f860e0bd Firefox failures
(cherry picked from commit 0a3a424e65)
2013-01-13 20:37:53 -05:00
Richard Gibson
b75b9ef8d0 Fix #13180: don't delegate into SVG <use>
(cherry picked from commits 36457cb6afc12d4a755cf93442a502783a669517..f860e0bd2f7dd228a14704d78ed5208cbe870d01)
2013-01-13 20:00:03 -05:00
Oleg
8e6c1ba92f Ref gh-1117: Don't stop on a falsy value in buildFragment. Close gh-1124. 2013-01-09 09:52:01 -05:00
nanto
2f6b3f818f Propagate context of returned deferred object in Deferred.then(). Fixes #13160. 2013-01-08 16:37:50 +01:00
jaubourg
18c376a5bd Adjusts unit test regarding exception in injected scripts so that it accounts for the exception being thrown in an event loop for remote scripts 2013-01-08 14:04:00 +01:00
jaubourg
d4e666d475 strengthens and dries 304 unit tests 2013-01-08 11:07:18 +01:00
Corey Frang
ce426c5d69 Adding some more test coverage for .finish() 2013-01-08 03:33:27 -06:00
jaubourg
ed6209e8b2 Tweaks the logic in the 304-related unit tests so that they pass for versions of Opera that support manual 304 handling as well as for those that don't 2013-01-08 10:10:18 +01:00
Oleg
6d2ae92fe4 Change test description 2013-01-08 02:41:18 +00:00
Oleg
c9bf5c5e90 Bring back jQuery.buildFragment and remove jQuery.clean 2013-01-08 02:41:15 +00:00
Oleg
054daa20af Ref #8908. Update IE9 css clone fix. Close gh-1119. 2013-01-08 02:08:47 +00:00
Corey Frang
b6abb31df4 Fix #13103. Add .finish() method. Close gh-1118. 2013-01-08 01:19:25 +00:00