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
Richard Gibson
67a2e4eaac
Ref #13316 : Sync all test documents on full vs. minified source.
2013-02-08 00:20:33 -05:00
Oleg
8226666b13
Fix #13310 . Get the right display value for disconnected nodes. Close gh-1155.
2013-02-04 15:13:01 -05:00
Dave Methvin
a3055f3df6
Fix #13316 . Use minified version in unit testing.
...
Also migrates the XHR check added to 2.0 in 62acda819f
.
2013-01-26 10:52:19 -05:00
Richard Gibson
ac93559eb9
Fix #13274 : Wrap sourceMap directive in multiline comments. Close gh-1143.
2013-01-25 10:03:53 -05:00
byroot
eb47553eea
Don't try and convert data for 204 No Content responses. Fixes #13292 . Fixes #13261 .
2013-01-24 02:35:07 +01:00
Richard Gibson
2ea7876c25
Fix #13064 : better test fixture cleanup. Close gh-1075.
2012-12-16 13:09:40 -05:00
Timo Tijhof
55313d32a2
Test: Update index.html to new QUnit format. Close gh-1061.
...
Depends on jquery/sizzle#177 , included with the Sizzle submodule in this commit.
2012-12-10 21:48:20 -05:00
Timo Tijhof
cef044d82e
Test: Remove fixtures from QUnit.done hook. Close gh-1069.
...
This fixes jquery/testswarm#197 . These are currently removed from
the TestSwarm injector, however this is jQuery specific, and
should be done from this end instead.
2012-12-10 20:45:20 -05:00
Timo Tijhof
5dd8a90f73
Make compatible with jshint, lint test/data. Close gh-1043.
2012-12-06 13:46:37 -05:00
jaubourg
b7ece8c620
Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore."
...
This reverts commit 228ab3ddae
.
2012-12-05 14:54:14 +01:00
jaubourg
7f7007dffe
Revert "228ab3d followup 1: fix test failures. Close gh-1056."
...
This reverts commit 20608b3579
.
2012-12-05 14:54:00 +01:00
Richard Gibson
20608b3579
228ab3d
followup 1: fix test failures. Close gh-1056.
2012-12-05 02:12:32 -05:00
jaubourg
228ab3ddae
Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore.
2012-12-04 07:40:12 +01:00
Richard Gibson
4ada325479
More improvements per @jaubourg
2012-12-03 11:32:19 -05:00
Richard Gibson
ad690f8151
Improvements per @jaubourg
2012-12-03 00:49:40 -05:00
Richard Gibson
5b9bf13439
No ticket: improve global variable/ajax request tracking
2012-12-02 23:32:16 -05:00