Richard Gibson
214e1634ab
CSS: Correct misrepresentation of "auto" horizontal margins as 0
...
Fixes gh-2237
Closes gh-2276
2015-10-18 15:35:18 -04:00
Oleg Gaidarenko
3ced5abe5c
Ajax: improve content-type detection
...
Cherry-picked from 239169bb2e
Fixes gh-2584
Closes gh-2643
2015-10-12 22:38:59 +03:00
Oleg Gaidarenko
e73a67f2e2
Event: fix incorrect test
...
Which was revealed by 03eaadb131
commit,
also do not try to fix typos in data/jquery version
Cherry-picked from d92310050c
2015-10-12 18:38:41 +03:00
Gary Ye
ef6cd83ab0
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
Cherry-picked from 03eaadb131
Closes gh-2613
Closes gh-2601
2015-10-12 18:09:37 +03:00
Dave Methvin
7e78c2ec81
Event: Move .bind() and .delegate() to deprecated
...
Cherry-picked from ee0854f85b
Fixes gh-2288
Closes gh-2624
2015-10-12 17:34:20 +03:00
Richard Gibson
fb98ea49b6
Tests: Use QUnit URL parameter parsing
...
(cherry picked from commit f23a64d745
)
2015-10-08 23:32:05 -04:00
Richard Gibson
5fb689debc
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
(cherry picked from commit f9af896bb8
)
2015-10-08 23:32:05 -04:00
Michał Gołębiowski
1b48eef4ca
Tests: Really fix tests in IE 8 this time
...
IE 8 doesn't have indexOf on arrays. Also, one toLowerCase() was missing. Oops.
2015-09-08 18:59:01 +02:00
Michał Gołębiowski
06454d118f
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.
(cherry-picked from 855b0c8c28
)
Refs 2c7e9c9349
2015-09-08 18:45:58 +02:00
Michał Gołębiowski
c7d458fb9e
Tests: Backport basic tests from master
...
Commit 2c7e9c9
added the basic test suite; these are the only tests that
are now run on Android 2.3 on master. On compat we're keeping full Android 2.3
support for now but the tests and the testswarm basic run mode have been
cherry-picked anyway to reduce the divergence between branches.
(cherry-picked from 2c7e9c9349
)
Fixes gh-2505
Closes gh-2509
Refs gh-2483
2015-09-08 18:10:51 +02:00
Oleg Gaidarenko
2f0cedc997
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
Ref c8d15a2f9f
2015-09-08 04:15:54 +03:00
Michał Gołębiowski
eac265ccdd
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.
(cherry-picked from 02e10082b2
)
Refs 62acda819f
2015-09-08 00:46:25 +02:00
Oleg Gaidarenko
4543815eed
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
Ref b930d14ce6
Fixes gh-2540
2015-09-07 20:14:59 +03:00
Oleg Gaidarenko
20ddbe4f59
Build: Update jscs and lint files
...
Ref 10fdad742a
Fixes gh-2056
2015-09-07 20:14:50 +03:00
Bruno Pérel
6af92cafca
Docs: Fix various spelling mistakes
...
(cherry-picked from 360a478033
)
Closes gh-2487
2015-07-30 15:51:44 +02:00
Corey Frang
0ff805772a
Effects: Adding unit tests for jQuery.Animation
...
Closes gh-2340
(cherry picked from commit b3b2d6c3dd
)
Conflicts:
src/effects.js
2015-06-26 20:12:42 -04:00
Corey Frang
6b10f9d7e9
Effects: Add tests for jQuery.Tween
...
Conflicts:
src/selector-native.js
test/index.html
test/unit/effects.js
2015-06-26 20:11:55 -04:00
Timmy Willison
a0a5c0be2d
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:24:12 -04:00
Michał Gołębiowski
d8037c6d52
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.
(cherry-picked from e831856490
)
Fixes gh-2398
2015-06-16 16:26:12 +02:00
Richard Gibson
9df8bd205a
CSS: Ignore the CSS cascade in show()/hide()/etc.
...
Fixes gh-1767
Fixes gh-2071
Closes gh-2180
(cherry picked from commit 86419b10bf
)
Conflicts:
src/css.js
src/css/defaultDisplay.js
src/effects.js
test/data/testsuite.css
test/unit/css.js
test/unit/effects.js
2015-05-11 13:01:13 -04:00
Michał Gołębiowski
c0a07778fd
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.
(cherry-picked from ff18d8e206
)
Closes gh-2232
2015-04-27 20:38:12 +02:00
Oleg Gaidarenko
1d3d2b1aa6
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
Ref 4ef120d3f2
2015-02-15 02:03:32 +03:00
Oleg Gaidarenko
dac716ca65
CSS: simplify hack of css getter for the computed values
...
Ref gh-1906
2014-12-24 02:46:09 +03:00
Timmy Willison
57652eecd9
Build: fix tests in AMD mode
2014-12-10 10:18:59 -05:00
Michał Gołębiowski
90d7cc1d8b
Misc: Drop support for older browsers; update support comments
...
That includes IE<8, Opera 12.x, Firefox<29, Safari<6.0 and some hacks
for old Blackberry.
Fixes gh-1836
Fixes gh-1701
Refs gh-1815
Refs gh-1820
2014-12-08 21:12:33 +01:00
Richard Gibson
f6f8848fbe
Tests: Minor updates for QUnit 1.16 compatibility
...
More to come later.
2014-12-05 12:32:49 -05:00
Zheming Sun
c5e8e12cef
CSS: Fix get upper case alpha opacity in IE8
...
Fixes gh-1705
Closes gh-1704
2014-11-08 17:43:33 +01:00
Timmy Willison
91e06e9aeb
Build: update grunt-jscs-checker and pass with the new rules
...
Conflicts:
build/tasks/build.js
src/ajax/xhr.js
src/attributes/classes.js
src/attributes/prop.js
src/attributes/val.js
src/core/init.js
src/core/ready.js
src/css.js
src/css/curCSS.js
src/css/defaultDisplay.js
src/data.js
src/data/var/dataPriv.js
src/data/var/dataUser.js
src/dimensions.js
src/effects.js
src/event.js
src/manipulation.js
src/offset.js
src/queue.js
src/selector-native.js
test/data/testrunner.js
2014-07-17 11:08:37 -07:00
Oleg Gaidarenko
37f0f7f42c
Ajax: Always use script injection in globalEval
...
Fixes #14757
Ref bbdfbb4ee8
2014-06-16 03:21:39 +04:00
Dave Methvin
062a7d63e4
Data: Work around IE11 bug with onpageshow attribute
...
Fixes #14894
(cherry picked from commit b8133e282c
)
Conflicts:
src/data.js
test/unit/data.js
2014-04-30 11:00:14 -04:00
Oleg Gaidarenko
f833c9af57
Effects: Respect display value on inline elements
...
Take "olddisplay" value into the account
Fixes #14824
Closes gh-1566
Ref 73fe17299a
(cherry-picked from c34dbf5a8d
)
Conflicts:
src/effects.js
2014-04-30 17:14:22 +04:00
Oleg Gaidarenko
3dc5504237
Tests: Comply the style guide
2014-04-15 17:46:26 +04:00
Oleg Gaidarenko
d89c278a33
Tests: Fix failing ajax tests in oldIE
2014-04-15 17:46:26 +04:00
Oleg Gaidarenko
4d5596e3e4
Tests: Remove unused variables
2014-04-15 17:46:26 +04:00
Oleg Gaidarenko
1c04178939
Tests: Improve jsonp tests
...
Since global variable for callback always would be equal to undefined value
it better to check for boolean instead
2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
f5ea571753
Build: Use jscs to check test helpers
...
Also fix issues found by jscs
Conflicts:
test/data/testrunner.js
2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
6cd81b8802
Tests: Remove Sizzle intergration tests
...
Fixes #14818
Conflicts:
test/data/testrunner.js
2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
d5399193d4
Tests: Simplify "testTimeout" option
2014-04-15 17:46:25 +04:00
Oleg Gaidarenko
270a1ebd8d
Tests: Remove QUnit start hook
...
Conflicts:
test/data/testrunner.js
2014-04-15 17:46:25 +04:00
Michał Gołębiowski
c10af6be17
Core: Change the sleep time in dont_return.php from 100s to 30s
...
Half a minute is more than enough for the test to finish even in the slowest
browsers and in case of starving the PHP FPM process pool, one has to wait
for only half a minute to try again.
(cherry-picked from a10aa3aac5
)
2014-03-19 02:29:38 +01:00
Michał Gołębiowski
7f5a0df20c
Core: Change the sleep time in dont_return.php to a sane value
...
PHP sleep function accepts time in seconds, not milliseconds; the previous
value was starving the PHP FPM process pool.
(cherry-picked from b5074944b0
)
2014-03-18 16:50:55 +01:00
Michał Gołębiowski
85ba301d09
Core: Bump timeouts to stabilize doc ready test
...
The "document ready when jQuery loaded asynchronously" test fails all the time
in iOS7 and sometimes in other browsers. Bumping the timeouts *might* help
these other browsers to be less flakey here.
(cherry-picked from 854d242db4
)
2014-03-13 03:28:04 +01:00
Michał Gołębiowski
725cdebd39
Core: Add test for jQuery.ready.promise fallback load
...
Fix #13655
Close gh-1209
Ref 32b066d380
2014-03-13 02:18:29 +01:00
Michał Gołębiowski
b5050dc489
Support: Simplify the box-sizing test
...
Don't require body in the support.boxSizing test.
2014-03-10 19:25:25 +01:00
Dave Methvin
80e3dfa6ba
Core: Do not run window.onready when ready
...
Fixes #14802
(cherry picked from commit 2df1aad6a1
)
2014-03-04 21:50:43 -05:00
Dave Methvin
93fdfa2d8c
Event: Allow triggerHandler(beforeunload)
...
Fixes #14791
(cherry picked from commit 06adf7c95d
)
Conflicts:
src/event.js
2014-03-04 21:50:41 -05:00
Dave Methvin
48837b92b0
Ajax: .load() should trim its selector
...
Fixes #14773
(cherry picked from commit 3a68c114e3
)
Conflicts:
src/ajax/load.js
2014-03-04 21:50:40 -05:00
Oleg
a3cd88f14b
Tests: Remove one of the checks for memory leak
...
This check is redundant since jQuery.fragments object does not exist anymore
(cherry-picked from 38c122a73a
)
2014-01-14 22:02:21 +04:00
cjqed
305eefe6ab
Tests: Avoid use of QUnit.reset() in tests by splitting them
...
Closes gh-1470
Ref #1457
2014-01-03 08:01:46 +04:00
Timmy Willison
c2e0dbdaa5
Manage bower dependencies with grunt-bowercopy
...
Tracked bower dependencies are located at "src/sizzle" and "test/libs".
The source-destination mapping is in the Gruntfile.
When updating a bower dependency, update the version in bower.json, run
`grunt bower`, and then commit the result. When adding a dependency,
update the bowercopy task accordingly.
Fixes #14615 .
Closes gh-1452.
Conflicts:
bower.json
test/index.html
2013-12-06 16:14:27 -05:00