Commit Graph

252 Commits

Author SHA1 Message Date
Michał Gołębiowski
a10aa3aac5 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.
2014-03-19 02:29:04 +01:00
Michał Gołębiowski
b5074944b0 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.
2014-03-18 16:50:04 +01:00
Michał Gołębiowski
854d242db4 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.
2014-03-13 03:26:42 +01:00
Dave Methvin
2df1aad6a1 Core: Do not run window.onready when ready
Fixes #14802
2014-03-04 21:00:04 -05:00
Dave Methvin
06adf7c95d Event: Allow triggerHandler(beforeunload)
Fixes #14791
2014-03-04 20:49:57 -05:00
Dave Methvin
3a68c114e3 Ajax: .load() should trim its selector
Fixes #14773
2014-03-04 20:43:14 -05:00
Oleg
38c122a73a Tests: Remove one of the checks for memory leak
This check is redundant since jQuery.fragments object does not exist anymore
2014-01-14 22:01:39 +04:00
cjqed
537e9ced61 Tests: Avoid use of QUnit.reset() in tests by splitting them
Fix #14040
Close gh-1457
2013-12-23 17:21:22 -05:00
Timmy Willison
f9ad13c9ec 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.
2013-12-06 16:04:35 -05:00
Corey Frang
d2aa969206 Ajax: Use weak ETag header in tests
See http://en.wikipedia.org/wiki/HTTP_ETag#Strong_and_weak_validation

Close gh-1448
2013-11-26 14:04:55 -05:00
hongymagic
8d09ee0506 Ref #14503: Cherry-pick tests.
(cherry picked from commit 27b22f4ef5)
(cherry picked from commit 8dc0f2ea84)
(cherry picked from commit 936126f10d)
2013-11-15 12:19:05 -05:00
Timmy Willison
ac7ff97f8b Use grunt and bower packages as local dependencies. Close gh-1433. 2013-11-14 10:17:18 -05:00
Dave Methvin
1cecf64e5a Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369. 2013-11-12 21:15:08 -05:00
Michał Gołębiowski
4b39a82890 Fix #14340. Remove remnants of oldIE from unit tests. Close gh-1425. 2013-11-11 00:43:27 +01:00
Oleg
626cbde7f8 Use full version of jQuery 1.9.1
Had some weird failures in IE with xhr build of 1.9.1
2013-11-08 01:04:08 +01:00
Oleg
ee0d0e6e3f Add more thorough check for CSP violations 2013-11-07 20:16:19 +01:00
Richard Gibson
c66a5e70f2 Fix #14074: element id="nodeName". Close gh-1389.
(cherry picked from commit 126d596b56)

Conflicts:

	src/data.js
	src/data/accepts.js
	test/unit/core.js
	test/unit/data.js
2013-11-07 11:57:41 -05:00
Richard Gibson
d5b7139abc Ref f9d41ac6: Opera-compatible form target 2013-11-04 09:36:16 -05:00
Richard Gibson
f9d41ac641 Fix #14379: AJAX requests on unload 2013-10-28 17:53:31 -04:00
Dave Methvin
eca79fbf5b Revert "Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369."
This reverts commit 9b6f074580.
2013-10-22 22:49:03 -04:00
Dave Methvin
9b6f074580 Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369. 2013-10-22 22:03:20 -04:00
Richard Gibson
13d58a9bec No ticket: Fix subproject iframe tests 2013-10-11 15:08:07 -04:00
Timmy Willison
5093b89f08 Convert testrunner to an AMD module and ensure jQuery is on the page when executing the testrunner (another race condition amplified by swarm) 2013-09-06 17:11:32 -04:00
Timmy Willison
4ca5a0c691 No ticket: link testinit 2013-09-06 16:25:33 -04:00
Timmy Willison
e563cd3414 Move test loader to testinit.js. Fix race condition with dependency loading. 2013-09-06 16:23:20 -04:00
Timmy Willison
6535cc599e Use requirejs to load the testswarm inject script 2013-09-06 15:44:59 -04:00
Michał Gołębiowski
bbbdd94725 Fix #10814. Make support tests lazy and broken out to components. 2013-09-06 03:38:22 +02:00
Michał Gołębiowski
776012b8b3 Fix #14084: attach the test div to documentElement, not body. 2013-09-05 18:26:21 +02:00
Richard Gibson
0c18520923 No ticket: Hide the testing-support jQuery from tests 2013-09-03 10:43:32 -04:00
Timmy Willison
004c1fc5bb Pass all tests (and load Sizzle fixture correctly) when loading with AMD 2013-08-29 16:18:17 -04:00
Timmy Willison
62da89b89a Revert "Close php tags for ajax tests on swarm"
This reverts commit f6e86c3ca4.
2013-08-19 18:27:30 -04:00
Timmy Willison
f6e86c3ca4 Close php tags for ajax tests on swarm 2013-08-19 16:05:27 -04:00
Timmy Willison
6318ae6ab9 AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163. 2013-08-15 14:15:49 -04:00
Richard Gibson
db0326b1fd Fix #13596; #13722: .replaceWith consistency. Close gh-1216. 2013-04-16 17:47:21 -04:00
Michał Gołębiowski
562ca75e06 Correct spacing. 2013-04-15 19:26:34 +02:00
Timmy Willison
0fa52c11cb Update jshintrc to conform to new style guide. Conform to onevar and unused in tests. Fixes #13755. 2013-04-09 11:59:31 -04:00
Dave Methvin
85fc5878b3 Fix #13393. Avoid IE9 activeElement of death. 2013-04-08 21:35:48 -04:00
Michał Gołębiowski
32b066d380 Fix #13655. Add test for jQuery.ready.promise fallback load. Close gh-1209. 2013-04-04 13:32:25 -04:00
Michał Gołębiowski
8db7d6f20b Fix #13543. offsetWidth is wrong on non-1 zoom. Close gh-1194. 2013-04-03 21:00:38 -04:00
jrburke
34c4e122a3 Remove the define.amd.jQuery check, ref gh-1150. 2013-02-28 17:21:18 -05:00
jaubourg
eebc77849c Fixes #11151, #13388. Minor refactor of response conversion and when/where
responseXXX fields are set on the jqXHR. Close gh-1164.

(Cherry-picked from 69b3d5ce0f)
2013-02-28 15:01:10 -05:00
Richard Gibson
59f5adb622 No ticket: Revise unit tests in anticipation of Sizzle-free builds 2013-02-22 20:13:36 -05:00
Richard Gibson
6971d9d8e2 Fix 363299ac failures 2013-02-07 17:03:04 -05:00
Richard Gibson
363299ac24 Ref #13316: Sync all documents on full vs. minified source. Close gh-1147. 2013-02-07 15:16:28 -05:00
Oleg
f3db084f7c Fix #13310. Get the right display value for disconnected nodes. Close gh-1156. 2013-02-04 15:22:07 -05:00
Rick Waldron
7b50c4a711 Avoid potential for breakage if test suite is run in a frame
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-02-03 17:58:07 -05:00
Rick Waldron
7f94a5cc3a 2.0: Rewrite data.js (Incl. event, manipulation, tests) 2013-02-03 15:27:55 -05:00
Dave Methvin
58cd84f9d5 Fix #13316. Use minified version in unit testing. 2013-01-26 10:48:10 -05:00
Richard Gibson
487b703521 Fix #13274: Wrap sourceMap directive in multiline comments. Close gh-1143.
(cherry picked from commit ac93559eb9)
2013-01-25 10:09:27 -05:00
byroot
bfc61b879e Don't try and convert data for 204 No Content responses. Fixes #13292. Fixes #13261. 2013-01-24 02:34:02 +01:00