Commit Graph

2045 Commits

Author SHA1 Message Date
Oleg Gaidarenko
999010b2e7 Revert "Revert "Offset: allow offset setter to throw for disconnected elements""
This reverts commit 578dcee96a.
2015-11-11 19:34:24 +03:00
Oleg Gaidarenko
951c4eafa5 Revert "Deferred: add .catch handler"
This reverts commit 84ccf2606c.
2015-11-11 19:07:21 +03:00
Oleg Gaidarenko
7101ef2be8 Revert "CSS: Make .css("width") & .css("height") return fractional values"
This reverts commit b60b26e184.
2015-11-11 19:05:14 +03:00
Oleg Gaidarenko
82bb2ae719 Revert "Effects: Remove additional parameters of easings"
This reverts commit b7a7dea95f.
2015-11-11 18:56:05 +03:00
Oleg Gaidarenko
ad358fd62b Revert "Ajax: Mitigate possible XSS vulnerability"
This reverts commit b078a62013.
2015-11-11 18:55:44 +03:00
Oleg Gaidarenko
8dda094c7c Revert "Ajax: don't expect cross-origin tests run in envs which not support it"
This reverts commit 39cdb8c9aa.
2015-11-11 18:54:44 +03:00
Oleg Gaidarenko
3f7cd73822 Revert "Attributes: do not set properties to false when removing booleans"
This reverts commit 47ccf3daad.
2015-11-11 18:51:58 +03:00
Oleg Gaidarenko
38261772a4 Revert "Attributes: remove flakey test for selected attribute"
This reverts commit 87bd130289.
2015-11-11 18:51:53 +03:00
Oleg Gaidarenko
112f612aaf Revert "Ajax: Only form-encode requests with a body"
This reverts commit 70605c8e56.
2015-11-11 18:51:34 +03:00
Oleg Gaidarenko
9fd56078df Revert "Attributes: return empty array for select-multiple with no values"
This reverts commit 79fc806e85.
2015-11-11 18:49:04 +03:00
Oleg Gaidarenko
ab7ba382bc Revert "Dimensions: outerWidth/Height include scrollbar"
This reverts commit 7d44d7f9e7.
2015-11-11 18:48:58 +03:00
Oleg Gaidarenko
ebbfb1bc5c Revert "Dimensions: Empty sets should return undefined"
This reverts commit 97d79ecf6b.
2015-11-11 18:48:50 +03:00
Timmy Willison
88046440da Selector: pass jQuery unit tests with selector-native
- Ignore certain tests that obviously are not supported
- Beefed up the sortOrder, uniqueSort, isXMLDoc, and attr functions

Fixes gh-1742
Fixes gh-2048
Close gh-2703
2015-11-11 10:10:10 -05:00
Dave Methvin
2937019060 Offset: offsetLeft/Top on empty set returns undefined
Fixes gh-2319
Closes gh-2702
Ref gh-2701
2015-11-10 10:01:45 -05:00
Dave Methvin
97d79ecf6b Dimensions: Empty sets should return undefined
Ref gh-2319
Closes gh-2701
2015-11-10 09:59:48 -05:00
Timmy Willison
75b3cdd509 Dimensions: properly manipulate non-px values
Fixes gh-1712
Close gh-2695
2015-11-09 17:38:00 -05:00
Timmy Willison
22449eb968 Manipulation: execute scripts from iframe in the iframe's context
Fixes gh-1757
Close gh-2696
2015-11-09 14:14:30 -05:00
Dave Methvin
67fa2eab6e Event: Move VML test out of event alias test
Ref gh-2693
2015-11-07 15:51:03 -05:00
Dave Methvin
7d44d7f9e7 Dimensions: outerWidth/Height include scrollbar
Fixes gh-1729
Closes gh-2694
2015-11-07 15:13:31 -05:00
Dave Methvin
2cb8ebadcb Event: Make event aliases optional in unit tests 2015-11-06 10:00:46 -05:00
Timmy Willison
79fc806e85 Attributes: return empty array for select-multiple with no values
Fixes gh-2562
Close gh-2689
2015-11-05 17:41:49 -05:00
Dave Methvin
e05c63e17a Event: Add basic unit tests for event aliases
Fixes gh-2302
Closes gh-2687

At the moment it's not possible to run the full event unit tests without aliases
so this was just tested with a custom build by running this one test.
2015-11-05 14:14:36 -05:00
Timmy Willison
493b0fd7f5 Event: Ensure delegation doesn't error on comment nodes
Fixes gh-2055
Close gh-2659
2015-11-04 18:09:33 -05:00
Dave Methvin
769446c697 Ajax: Don't throw exceptions on binary data response
Fixes gh-2498
Closes gh-2682

The added unit test shows how this could be used to support an
ArrayBuffer return, but $.ajax does not support it natively.
The goal with this change was to avoid the exception.
2015-11-04 12:47:16 -05:00
Timmy Willison
76e9a95dbe Ajax: trigger error callback on native abort
- IE9 does not have onabort. Use onreadystatechange instead.

Fixes gh-2079
Close gh-2684
2015-11-03 12:34:04 -05:00
Dave Methvin
70605c8e56 Ajax: Only form-encode requests with a body
Fixes #2658
Closes #2671
2015-11-02 13:14:46 -05:00
Michał Gołębiowski
015d16c02d Tests: Make regexes for iOS devices more rigid 2015-10-30 19:17:07 +01:00
Michał Gołębiowski
47e2aa6593 Tests: Remove Safari 7.0 & iOS 6 support tests results 2015-10-30 19:17:01 +01:00
Michał Gołębiowski
1c2b5362ef Tests: Add iOS 9 support tests results 2015-10-30 19:13:56 +01:00
Timmy Willison
dabd5ba96c Core: use interactive to evaluate dom ready, barring IE9-10
Fixes gh-2100
2015-10-29 10:21:50 -04:00
Timmy Willison
87bd130289 Attributes: remove flakey test for selected attribute
- The change is already covered by the "checked" test.
  Since this test is redundant, just drop it.
2015-10-26 11:38:04 -04:00
Richard Gibson
f931786018 Tests: Post-Summit cleanup
Ref 67d7a2eefe
Ref c752a5030b
2015-10-25 15:25:56 -04:00
Richard Gibson
5b554cf04e Tests: Use standard external domain name
Ref 01c360f963

(cherry picked from commit 3680689165)
2015-10-23 11:56:29 -04:00
Timmy Willison
47ccf3daad Attributes: do not set properties to false when removing booleans
Fixes gh-1759
2015-10-21 16:23:44 -04:00
Timmy Willison
15ac848868 Core: make isNumeric limited to strings and numbers
Fixes gh-2662
2015-10-21 16:22:22 -04:00
Michał Gołębiowski
e99a3ac706 Tests: Add Safari 9 support tests results 2015-10-18 17:26:56 -04:00
Richard Gibson
487d5ca913 CSS: Correct misrepresentation of "auto" horizontal margins as 0
Fixes gh-2237
Closes gh-2276

(cherry picked from commit 214e1634ab)

Conflicts:
	src/css.js
	src/css/support.js
	test/unit/support.js
2015-10-18 16:58:38 -04:00
Joelle Fleurantin
c752a5030b Attributes: fix tabIndex on <img> in IE11
Fixes gh-2647
Closes gh-2664
2015-10-18 16:36:52 -04:00
Liza Ramo
9090d98439 Core: add unit test for isPlainObject(Symbol)
Fixes #2645
Closes #2661
2015-10-18 15:12:13 -04:00
Joelle Fleurantin
9f9e204bba Offset: allow small differences in offset.top
Fixes gh-2590
2015-10-18 14:01:35 -04:00
Dave Methvin
4bf1a09522 Attributes: Use simpler boolean check vs a function call
Ref gh-2491
2015-10-18 12:39:38 -04:00
Dave Methvin
53f798cf4d Attributes: Remove undocumented .toggleClass( boolean ) signature
Fixes gh-2491
Close gh-2618
2015-10-18 12:38:59 -04:00
Dave Methvin
67d7a2eefe CSS: Make show/hide/toggle methods a module
Unit test changes some uses of .show() and .hide() to .css( "display", ... ),
there was already an implicit assumption in several of the existing tests.

Fixes gh-2193
Close gh-2648
2015-10-18 12:30:00 -04:00
Liza Ramo
0703fd52ef Core: make isNumeric test work on Symbol
Ref #2645
Closes #2657
2015-10-17 16:50:05 -04:00
Aurelio De Rosa
67b76f5986 Tests: Account for array-like objects in jQuery.grep
Closes gh-2605
2015-10-13 03:48:14 +03:00
Oleg Gaidarenko
625bd303d9 Tests: fix code style issues
Follow-up for 8a734344f2
2015-10-13 01:22:57 +03:00
Christian Grete
8a734344f2 Core: Support Symbol wrapper objects in jQuery.type
In ECMAScript 2015 (ES6), the native typeof operator returns "symbol"
for Symbol primitives. As it is possible to wrap symbols using the
Object constructor, symbols can be objects as well as any other
primitive type in JavaScript and should be determined by jQuery.type.

Closes gh-2627
2015-10-13 01:18:20 +03:00
Oleg Gaidarenko
39cdb8c9aa Ajax: don't expect cross-origin tests run in envs which not support it
Follow-up to b078a62013
2015-10-13 00:00:38 +03:00
Oleg Gaidarenko
239169bb2e Ajax: improve content-type detection
Fixes gh-2584
Closes gh-2643
2015-10-12 22:38:15 +03:00
Oleg Gaidarenko
d92310050c Event: fix incorrect test
Which was revealed by 03eaadb131 commit,
also do not try to fix typos in data/jquery version
2015-10-12 18:37:04 +03:00