Commit Graph

254 Commits

Author SHA1 Message Date
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
Michał Gołębiowski
badcd1b6f3 Fix #10814. Fix #14084. Make support tests lazy and broken out to components. 2013-09-06 03:40:49 +02:00
Richard Gibson
6a6604b785 No ticket: Hide the testing-support jQuery from tests
(cherry picked from commit 0c18520923)

Conflicts:

	test/data/testrunner.js
2013-09-03 11:13:20 -04:00
Timmy Willison
8e6e239256 Pass all tests (and load Sizzle fixture correctly) when loading with AMD
Conflicts:
	src/css.js
2013-08-29 16:25:44 -04:00
Timmy Willison
217cbb7109 AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.
Conflicts:
	Gruntfile.js
	README.md
	src/ajax.js
	src/ajax/xhr.js
	src/attributes.js
	src/core.js
	src/css.js
	src/data.js
	src/effects.js
	src/event.js
	src/manipulation.js
	src/offset.js
	src/selector-native.js
	src/traversing.js
	test/unit/core.js
	test/unit/data.js
2013-08-15 15:49:49 -04:00
Richard Gibson
bdc4f3ebbe Fix #13596; #13722: .replaceWith consistency. Close gh-1216. 2013-04-16 17:28:35 -04:00
Michał Gołębiowski
0c927172b8 Further spacing & code style corrections. 2013-04-15 19:34:45 +02:00
Timmy Willison
d2435ead36 Update jshintrc to conform to new style guide. Conform to onevar and unused in tests. Fixes #13755.
Conflicts:
	src/.jshintrc
	src/data.js
	test/unit/attributes.js
	test/unit/core.js
	test/unit/data.js
	test/unit/event.js
	test/unit/manipulation.js
	test/unit/queue.js
	test/unit/traversing.js
	test/unit/wrap.js
2013-04-09 12:21:54 -04:00
Dave Methvin
fdaf2146ad Fix #13393. Avoid IE9 activeElement of death.
(Cherry picked from 85fc5878b3)

Conflicts:
	src/event.js
2013-04-08 21:52:16 -04:00
Michał Gołębiowski
df7847bc25 Fix #13543. offsetWidth is wrong on non-1 zoom. Close gh-1218. 2013-04-03 22:08:46 -04:00
Michał Gołębiowski
4adde5d145 Update grunt-contrib-jshint to 0.3.0, ref gh-1204. 2013-04-03 20:41:41 -04:00
jrburke
b6dd1c67a6 Remove the define.amd.jQuery check, close gh-1150.
Cherry picked from 2.0 master 34c4e122a3

Conflicts:
	src/exports.js
2013-04-03 20:10:42 -04:00
jaubourg
69b3d5ce0f Fixes #11151, #13388. Minor refactor of response conversion and when/where
responseXXX fields are set on the jqXHR. Close gh-1164.
2013-02-28 14:47:39 -05:00
Richard Gibson
1f76536650 No ticket: Revise unit tests in anticipation of Sizzle-free builds
(cherry picked from commit 59f5adb622)
2013-02-22 20:33:00 -05:00