Michał Gołębiowski
551578eb36
Core: Blacklist the ready test on async-loaded jQuery in iOS7
...
Fixes #14882
2014-03-17 18:13:00 +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
10efa1f5b4
Core: Arrays like [42] should fail .isNumeric()
...
Fixes #14179
2014-03-04 20:40:23 -05:00
Michał Gołębiowski
95b21c6ec2
Build: Upgrade QUnit to 1.14.0
2014-02-05 15:35:48 +01: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
Richard Gibson
71b2ac524e
Fix #14492 : More correct jQuery.parseJSON. Close gh-1419.
...
(cherry picked from commit 60a6178131
)
Conflicts:
src/ajax/parseJSON.js
2013-11-12 00:13: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
Michał Gołębiowski
650f325d8e
No ticket. Restore some parsing tests in core.
2013-11-10 21:05:43 +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
Amey Sakhadeo
18099d52d8
Add unit tests for jQuery.grep. Close gh-1345.
2013-09-12 11:19:38 -05:00
Michał Gołębiowski
eb9cbfcaf6
No ticket. Update support comments to reflect current state of affairs.
2013-09-07 03:14:40 +02:00
Richard Gibson
0c18520923
No ticket: Hide the testing-support jQuery from tests
2013-09-03 10:43:32 -04:00
Richard Gibson
f66d53c856
Ref #14313 : Further code and test improvements
2013-09-03 02:01:53 -04:00
Timmy Willison
6318ae6ab9
AMD-ify jQuery sourcegit s! Woo! Fixes #14113 , #14163 .
2013-08-15 14:15:49 -04:00
ruado1987
5f1aa2354a
Fixes #13976 : Garbage input should not cause error in buildFragment. Close gh-1284
2013-07-01 22:31:01 +04:00
Dave Methvin
9fdbc8bf33
Fix #13223 . Re-allow leading space in HTML. Close gh-1264.
...
(cherry picked from commit 00eafdf028
)
2013-05-09 14:53:15 -04: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
Michał Gołębiowski
52394ba986
Move size() test to deprecated.js and avoid in other tests. Close gh-1237.
2013-04-08 20:38:20 -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
Rick Waldron
feea9394b7
Fixes #13714 . jQuery.globalEval gotcha w/ strings that contain valid, prologue position strict mode pragma
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-04-03 11:26:07 -04:00
Rick Waldron
5c82d36f19
Revert 8d1c42296f
2013-03-06 15:11:20 -05:00
Rick Waldron
8d1c42296f
Fixes #13571 . jQuery.isPlainObject 1.9.x compatibility
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-03-06 14:42:24 -05:00
dmitrygusev
eee2eaf1d7
Fix typos. Close gh-1186.
2013-02-28 15:45: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
Rick Waldron
ed0e2d1e8a
Adds test for jQuery.extend deep copy with array, followed by object. Refutes and Closes #1154
2013-02-03 12:52:08 -05:00
Dave Methvin
6f7b6915bf
Fix #12656 . Make event shorthands excludable.
2013-01-27 09:07:00 -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
Oleg
6d2ae92fe4
Change test description
2013-01-08 02:41:18 +00:00
Oleg
c9bf5c5e90
Bring back jQuery.buildFragment and remove jQuery.clean
2013-01-08 02:41:15 +00:00
Sebi Burkhard
5eec75e582
Fix #13075 . Optimize $.type by preferring typeof
. Close gh-1089.
...
Also fixes browsers where `typeof RegExp === "function"`.
2012-12-23 15:41:56 -05:00
timmywil
05531fc408
Adjust jQuery('html') detection to only match when html starts with '<' (not counting space characters). Fixes #11290 .
2012-12-13 15:31:02 -05:00
Richard Gibson
f42e1e654f
Fix IE failures from 55313d32
2012-12-11 16:12:23 -05:00
Rick Waldron
3c7f2af81d
Be specific about Firefox nodes-as-nodelist. Never assume that modern browsers will "get it right".
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2012-12-10 20:19:26 -05:00
Rick Waldron
07a7b3e4cf
Fixes #13021 . Normalization of core utility array like detection based on standard protocol by Richard Gibson <richard.gibson@gmail.com>. Closes gh-1064
2012-12-10 13:52:02 -05:00
Richard Gibson
747600b157
Don't test what ain't there no more
2012-12-06 17:01:36 -05:00
Richard Gibson
5b9bf13439
No ticket: improve global variable/ajax request tracking
2012-12-02 23:32:16 -05:00
Dave Methvin
67df705bf5
Fix #12191 . jQuery.type should return "error" for Error objects.
2012-11-24 17:22:14 -05:00
Richard Gibson
81b094b2c1
No ticket: update test suite to pass QUnit globals check in most environments. Close gh-1016.
2012-11-05 17:24:03 -05:00
Richard Gibson
3f51504580
No ticket: remove test suite external dependencies
2012-11-01 17:32:08 -04:00
Marcel Greter
de9ff7cd17
Fix #12107 . Let .proxy() curry args without overwriting context. Close gh-866.
2012-10-20 22:10:06 -04:00
Richard Gibson
b5084b4bf2
Fix #4262 : faster .eq(), closes gh-1000.
2012-10-19 22:32:25 -04:00
Dave Methvin
32051e97c1
Combine parseJSON tests and fix style.
...
We only care about the result of parseJSON so there's no reason to feature detect the entire test.
2012-10-19 21:59:45 -04:00
Dave Methvin
3144163f61
Followup for #12751 , only test on browsers with JSON.parse
2012-10-19 17:18:33 -04:00
James Huston
ee9687d441
Fix #12751 . Ensure parseJson throws in the same situations as JSON.parse. Close gh-993.
2012-10-17 16:28:55 -04:00
Mike Sherov
ed9e34482a
enforce double quotes via JSHint. Closes gh-975
2012-10-16 10:17:14 -04:00
Dave Methvin
5a21150c9b
Skip jQuery.sub() test since IE6 can't handle it.
2012-10-09 20:42:33 -04:00
Dave Methvin
fde2e44f86
Break big-html check into its own test for IE6.
2012-10-09 20:06:47 -04:00
Timo Tijhof
7e8b854152
Test: Clean up and fix misc issues
...
* Clean up testinit and testrunner
* Uncomment isLocal (at least make sure it is declared)
* Rephrase environment assertions to make sense if one reads
them when they pass.
* Optimise an expensive loop that might be the cause of this
in IE6: http://cl.ly/image/3f20053m112n
2012-10-09 20:06:31 -04:00
Richard Gibson
9e246dd7fa
Fix #12350 : jQuery.trim should remove BOM
2012-08-21 08:59:51 -04:00
Dave Methvin
ac043b1bc8
Revert "Fix #12350 . Remove BOM in jQuery.trim. Close gh-897."
...
This reverts commit 2b5b4ebbd7
.
String.prototype.trim doesn't trim BOM in Safari 5.0 so this won't work without additional feature detects.
http://swarm.jquery.org/result/165379
2012-08-20 09:33:35 -04:00