Dave Methvin
c9935b6d2d
Event: Separate trigger/simulate into its own module
...
Fixes gh-1864
Closes gh-2692
This also pulls the focusin/out special event into its own module, since that
depends on simulate(). NB: The ajax module triggers events pretty heavily.
2015-11-06 09:36:48 -05:00
Timmy Willison
1da144867f
Tests: make editorconfig match css style
2015-11-05 18:13:00 -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
Michał Gołębiowski
cbe5b2b79a
Build: Test on Node 5
2015-10-30 01:34:33 +01:00
Timmy Willison
7bb39f3511
Release: remove antiquated release-notes.js
2015-10-29 15:21:46 -04: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
Dave Methvin
1144e754a6
Build: Add "deprecated" to the Testswarm module list
...
Ref #1740
Yeah.
2015-10-20 12:30:01 -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
Timmy Willison
3689963909
CSS: use isFinite in place of redundant isNumeric
2015-10-18 15:12:42 -04:00
Liza Ramo
9090d98439
Core: add unit test for isPlainObject(Symbol)
...
Fixes #2645
Closes #2661
2015-10-18 15:12:13 -04:00
Timmy Willison
32cfc38a9c
CSS: fix AMD mode for the new showHide module
2015-10-18 15:10:11 -04:00
Joelle Fleurantin
9f9e204bba
Offset: allow small differences in offset.top
...
Fixes gh-2590
2015-10-18 14:01:35 -04:00
Julian Alexander Murillo
c577928d45
Tests: Change quotes according to style guidelines
...
Close gh-2339
2015-10-18 13:17:23 -04:00
Dave Methvin
c82a6685bb
Event: Fix delegated radio events when arrow keys are used
...
Fixes gh-2343, gh-2410
Close gh-2617
2015-10-18 13:06:37 -04:00
Thomas Tortorini
5db1e05309
Attributes: removeClass() -> attr("class", "")
...
- Classes simpliciation
Close gh-2465
2015-10-18 12:46:34 -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
Timmy Willison
e271f665dd
Deprecated: fix amd mode for the deprecated module
2015-10-18 11:02:16 -04:00
Richard Gibson
0fb84fa8cc
Tests: Keep test iframes around for assertions
...
Ref 44f8239d3f
Ref gh-2644
Ref gh-2390
2015-10-17 17:41:50 -04:00
Liza Ramo
0703fd52ef
Core: make isNumeric test work on Symbol
...
Ref #2645
Closes #2657
2015-10-17 16:50:05 -04:00
Oleg Gaidarenko
44f8239d3f
Build: update Sizzle to 2.2.1
...
Ref #2644 - `selector` module in Edge - Waiting for Sizzle update
Fixes #2390
2015-10-17 14:18:52 -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
cb087ce41d
Ajax: correct indentation
...
As noted by @arthurvr
Follow-up for b078a62013
2015-10-12 20:35:29 +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
Martin Naumann
0c34e68843
Build: Fixed issue with base path that contain 'var'
...
Remove the cwd from the paths, so the regex doesn't kick in on "var"
Fixes gh-2450
Closes gh-2641
2015-10-12 18:17:12 +03:00
Gary Ye
03eaadb131
Tests:Docs: Fix various typos
...
* Changes "baar" to "bar" when used with "foo" in readme
and comments of js files
* mousenter -> mouseenter
Thanks @garysye, @KimTaehee
Closes gh-2613
Closes gh-2601
2015-10-12 18:08:13 +03:00
Dave Methvin
ee0854f85b
Event: Move .bind() and .delegate() to deprecated
...
Fixes gh-2288
Closes gh-2624
2015-10-12 17:32:08 +03:00
Connor Atherton
9748e436ad
Tests: Add .extend test for defined accessor properties
...
Closes gh-2615
2015-10-12 17:19:20 +03:00
Oleg Gaidarenko
b078a62013
Ajax: Mitigate possible XSS vulnerability
...
Proposed by @jaubourg
Fixes gh-2432
Closes gh-2588
2015-10-12 17:05:18 +03:00
Richard Kraaijenhagen
735dea34fb
Docs: "npm run build" was missing from the contributing guides
...
Close gh-2537
2015-10-12 09:59:39 -04:00