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
Corey Frang
d6684dc3aa
Ajax: Use weak ETag header in tests
...
See http://en.wikipedia.org/wiki/HTTP_ETag#Strong_and_weak_validation
Close gh-1448
(cherry picked from commit d2aa969206
)
2013-11-26 14:16:12 -05:00
hongymagic
27b22f4ef5
Fix #14503 : Cast to string before setting XHR header. Close gh-1427.
2013-11-14 20:32:56 -05:00
Timmy Willison
a9f5946294
Use grunt and bower packages as local dependencies. Close gh-1433.
2013-11-14 10:18:12 -05:00
Dave Methvin
97d53838e0
Fix #14180 . Allow cross-frame use of focusin/out. Close gh-1369.
...
(cherry picked from commit ebdb467761d756d4e52608a0df4a4d9b17da8092)
(conflicts with .data() resolved manually)
2013-11-12 21:24:20 -05:00
Oleg
d6fc713e26
Use full version of jQuery 1.9.1
...
Had some weird failures in IE with xhr build of 1.9.1.
Cherry picked from 626cbde7f8
commit
2013-11-08 01:07:09 +01:00
Oleg
9e3d0f3109
Fix #14422 and add more thorough check for CSP violations
...
Close gh-1413
2013-11-07 22:08:50 +01:00
Richard Gibson
126d596b56
Fix #14074 : element id="nodeName". Close gh-1389.
2013-11-07 11:37:52 -05:00
Richard Gibson
faed51b2e9
Ref f9d41ac6
: Opera-compatible form target
...
(cherry picked from commit d5b7139abc
)
2013-11-04 09:41:34 -05:00
Richard Gibson
26705c6c5b
Fix #14379 : AJAX requests on unload
...
(cherry picked from commit f9d41ac641
)
Conflicts:
src/ajax/xhr.js
2013-11-04 09:41:19 -05:00
Dave Methvin
469150a27e
Revert "Fix #14180 . Allow cross-frame use of focusin/out. Close gh-1369."
...
This reverts commit bba8366af4
.
Because cross-frame focus sucks.
2013-10-22 22:47:34 -04:00
Dave Methvin
bba8366af4
Fix #14180 . Allow cross-frame use of focusin/out. Close gh-1369.
...
(cherry picked from commit 6d5dfa0eda2c19e8838930fafff83b596654eca2)
Manually edited for conflicts.
2013-10-22 21:48:50 -04:00
Richard Gibson
3774ee49e0
No ticket: Fix subproject iframe tests
...
(cherry picked from commit 13d58a9bec
)
2013-10-11 15:08:58 -04:00
Timmy Willison
be1e4eee60
Convert testrunner to an AMD module and ensure jQuery is on the page when executing the testrunner (another race condition amplified by swarm)
...
Conflicts:
test/data/testinit.js
test/data/testrunner.js
2013-09-06 17:23:45 -04:00
Timmy Willison
d14904d083
Move test loader to testinit.js. Fix race condition with dependency loading.
2013-09-06 17:23:45 -04:00
Timmy Willison
b99972de58
Use requirejs to load the testswarm inject script
2013-09-06 17:23:45 -04:00