Manoj Kumar
1b9575b9d1
Core: Deprecate jQuery.isArray
...
Fixes gh-2961
Closes gh-3278
2016-11-30 12:22:24 +01:00
Timmy Willison
3bbcce68d7
Core: rnotwhite -> rhtmlnotwhite and jQuery.trim -> stripAndCollapse
...
- Renames and changes rnotwhite to focus on HTML whitespace chars
- Change internal use of jQuery.trim to more accurate strip and collapse
- Adds tests to ensure HTML space characters are retained where valid
- Doesn't add tests where the difference is inconsequential and
existing tests are adequate.
Fixes gh-3003
Fixes gh-3072
Close gh-3316
2016-09-15 10:40:27 -04:00
Timmy Willison
52e24471c8
Core: expose noConflict in AMD mode
...
- For compability reasons, we had already added the global
in AMD mode, but without noConflict. This adds back noConflict
to AMD (which fixes noConflict mode in the tests).
Fixes gh-2930
2016-08-15 11:54:55 -04:00
Oleg Gaidarenko
58c6ca9822
Build: ESLint details
...
Use eslint pragmas, fix new errors, etc
Closes gh-3148
2016-06-11 10:41:33 +03:00
Christophe Tafani-Dereeper
69db408d82
CSS: Remove units from a 0 width/height element
...
Close gh-3122
2016-05-16 10:46:47 -04:00
Dave Methvin
e5ffcb0838
Tests: Refactor testIframe() to make it DRYer and more consistent
...
Ref gh-3040
Closes gh-3049
2016-04-11 13:32:51 -04:00
Dave Methvin
08d73d7f9c
Tests: Make iframe tests wait after checking isReady
...
Ref gh-3040
2016-04-11 13:29:11 -04:00
Oleg Gaidarenko
c158f5761a
Tests: do not run IE9 effect tests if inside testswarm
...
That test doesn't work properly in such environment
Ref e04e246552
Fixes gh-2888
Closes gh-3034
2016-04-04 21:58:33 +03:00
Michał Gołębiowski
622db29d9c
Docs:Tests: Remove legacy code & add support comments where needed
...
This commits backports some changes done in the patch to the then-existing
compat branch that removed support for old browsers and added some support
comments.
Refs 90d7cc1d8b
2016-03-30 11:21:36 +02:00
Alexander Lisianoi
59ec78e602
Tests: Restrict "p > * > *" selection in selector.js to #qunit-fixture
...
Add `match` and `QUnit.assert.selectInFixture` functions that
mimic `QUnit.assert.t`.
Ref gh-2880
Closes gh-2973
2016-03-09 14:09:20 -05:00
Oleg Gaidarenko
a2f63ffd96
Tests: test element position outside view
...
Ref 49833f7795
Ref gh-2828
Ref gh-2836
Fixes gh-2909
2016-02-11 22:59:09 +03:00
Richard Gibson
dba93f79c4
CSS: Restore cascade-override behavior in .show
...
Fixes gh-2654
Fixes gh-2308
Close gh-2810
Ref 86419b10bf
2016-01-13 16:05:09 -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
2cb8ebadcb
Event: Make event aliases optional in unit tests
2015-11-06 10:00:46 -05: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
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
Julian Alexander Murillo
c577928d45
Tests: Change quotes according to style guidelines
...
Close gh-2339
2015-10-18 13:17:23 -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
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
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
Richard Gibson
f23a64d745
Tests: Use QUnit URL parameter parsing
2015-10-08 23:29:32 -04:00
Richard Gibson
f9af896bb8
Tests: Add dummy modules when running basic tests
...
Without this, other modules don't appear in the QUnit module picker.
Ref 855b0c8c28
Closes gh-2582
2015-10-08 23:26:03 -04:00
Michał Gołębiowski
1b566d37a2
Tests: Really fix tests in IE 8 this time
...
IE 8 doesn't have indexOf on arrays. Also, one toLowerCase() was missing. Oops.
This commit is not necessary on master but has been brought here to keep
tests similar in both branches.
(cherry-picked from 1b48eef4ca
)
2015-09-08 19:02:35 +02:00
Michał Gołębiowski
855b0c8c28
Tests: Don't load non-basic tests when basic module is selected
...
When loading basic tests don't load any others to not overload Android 2.3.
The drawback is that most tests are not selectable in the module dropdown
when the basic module is seelcted.
Refs 2c7e9c9349
2015-09-08 18:36:42 +02:00
Michał Gołębiowski
2c7e9c9349
Tests: Add simple tests for Android 2.3
...
Fixes gh-2505
Closes gh-2509
Refs gh-2483
2015-09-08 18:03:49 +02:00
Oleg Gaidarenko
c8d15a2f9f
Tests: further improvements QUnit 2.0 migration
...
* Remove QUnit jshint globals
* Extend QUnit.assert methods
* Use assert.async instead of start/stop/done
Ref b930d14ce6
2015-09-08 04:06:20 +03:00
Michał Gołębiowski
02e10082b2
Tests: lower the PHP sleep time in unreleasedXHR.html
...
The AJAX test performed in unreleasedXHR.html was scheduling PHP processes
sleeping for 10 minutes. When a lot of commits are tested in short intervals
this was causing build failures due to the drained php-fpm pool.
The 10 seconds sleep time should be enough for this test.
Refs 62acda819f
2015-09-08 00:44:44 +02:00
Oleg Gaidarenko
e35bdc1a22
Build: correct style tests files which could be automatically corrected
2015-09-07 20:03:50 +03:00
Oleg Gaidarenko
10fdad742a
Build: Update jscs and lint files
...
Fixes gh-2056
2015-09-07 20:03:50 +03:00
Oleg Gaidarenko
b930d14ce6
Tests: partially use new qunit interface
...
http://qunitjs.com/upgrade-guide-2.x/
For most of the boring work was used
https://github.com/apsdehal/qunit-migrate package
However, it can't update local qunit helpers, plus in some places
old QUnit.asyncTest signature is still used
Fixes gh-2540
2015-08-16 09:02:01 +03:00
Bruno Pérel
360a478033
Docs: Fix various spelling mistakes
...
Closes gh-2487
2015-07-30 15:47:23 +02:00
Corey Frang
b3b2d6c3dd
Effects: Adding unit tests for jQuery.Animation
...
Closes gh-2326
2015-06-26 20:06:03 -04:00
Corey Frang
cdaed15c7e
Effects: Add tests for jQuery.Tween
2015-06-26 20:05:25 -04:00
Timmy Willison
b041242223
Offset: add tests for hidden elements + scroll
...
- Also add comments to hidden/disconnected tests noting
this is to ensure consistency between branches
2015-06-16 13:28:51 -04:00
Michał Gołębiowski
e831856490
Tests: Remove test/data/ua.txt
...
The file was used by $.browser tests but $.browser now doesn't exists
in Core and this file hasn't been updated for a few years.
Fixes gh-2398
2015-06-16 16:25:16 +02:00
Richard Gibson
86419b10bf
CSS: Ignore the CSS cascade in show()/hide()/etc.
...
Fixes gh-1767
Fixes gh-2071
Closes gh-2180
2015-05-11 13:00:49 -04:00
Michał Gołębiowski
ff18d8e206
Tests: Increase QUnit timeout
...
Android 2.3 is very slow & times out a lot in async tests, they have to be
restarted multiple times to settle. Long test execution is not a huge problem
as Android 2.3 is tested only periodically during the night, unstable tests
are a bigger problem. This might mitigate that.
In a regular scenario almost all tests should pass so increasing the timeout
for all browsers shouldn't have a huge impact on overall test time.
Closes gh-2232
2015-04-27 20:27:05 +02:00
Oleg Gaidarenko
4ef120d3f2
Ajax: make jQuery#load "type" field explicit
...
* Move "evalScript.php" file to appropriate place
* Make jQuery#load "type" field explicit and add test for it
Ref trac-11264
2015-02-15 02:01:59 +03:00
Timmy Willison
cfe468f29c
Core: re-introduce createHTMLDocument in parseHTML; Safari 8 left out
...
Close gh-1505
2014-12-10 09:51:30 -05:00
Timmy Willison
6051609df3
Build: fix tests in AMD mode
2014-12-09 15:39:24 -05:00
Richard Gibson
26276a307c
Tests: Minor updates for QUnit 1.16 compatibility
...
More to come later.
(cherry picked from commit f6f8848fbe
)
2014-12-05 12:34:17 -05:00
Michał Gołębiowski
e81b258ace
Misc: Remove leftover -moz-box-sizing in tests
2014-11-03 20:03:03 +01:00
Timmy Willison
c869a1ef8a
Build: update grunt-jscs-checker and pass with the new rules
2014-07-17 10:25:59 -07:00
Oleg Gaidarenko
bbdfbb4ee8
Ajax: Always use script injection in globalEval
...
Fixes #14757
Closes gh-1449
2014-06-16 03:08:46 +04:00
Dave Methvin
b8133e282c
Data: Work around IE11 bug with onpageshow attribute
...
Fixes #14894
2014-04-30 10:46:26 -04:00
Oleg Gaidarenko
c34dbf5a8d
Effects: Respect display value on inline elements
...
Take "olddisplay" value into the account
Fixes #14824
Closes gh-1566
Ref 73fe17299a
2014-04-30 17:05:48 +04:00
Oleg Gaidarenko
95dfcc50ed
Build: Fix code style issue
...
Remove needless empty line character
2014-04-15 18:06:18 +04:00
Oleg Gaidarenko
f3b89ba082
Tests: Fix failing ajax tests in oldIE
...
(cherry-picked from the 7178096507
)
Picked up so tests from the 1.x-master would be more similar to this branch
2014-04-15 17:46:00 +04:00