Commit Graph

337 Commits

Author SHA1 Message Date
Oleg Gaidarenko
fcb6c4d1d6 Core: simplify "each" stylesheet iteration test
Closes gh-2089
2015-02-15 01:16:27 +03:00
Timo Tijhof
4116914dca Core: Return empty array instead of null for parseHTML("")
Fixes gh-1997
Close gh-1998
2015-01-19 11:38:04 -05:00
Leonardo Braga
534f13025a Core: add support to tag-hyphenated elements
Ref #1987
2015-01-13 07:42:52 +03:00
Dave Methvin
0ea8c32863 Core: Remove deprecated context and selector properties
Fixes gh-1908
Closes gh-2000
2015-01-11 21:11:56 -05:00
Timmy Willison
cfe468f29c Core: re-introduce createHTMLDocument in parseHTML; Safari 8 left out
Close gh-1505
2014-12-10 09:51:30 -05:00
Timmy Willison
b77983173e Core: revert addition of createHTMLDocument. Thanks, Safari 8.
- Safari 8 has issues when the HTML string contains forms.
  Closing tags are not respected.
2014-12-09 18:01:33 -05:00
Timmy Willison
59232825aa Core: remove unnecessary support test for createHTMLDocument 2014-12-09 15:57:12 -05:00
Timmy Willison
6051609df3 Build: fix tests in AMD mode 2014-12-09 15:39:24 -05:00
Frederic Hemberger
58c2460821 Core: use document.implemenation.createHTMLDocument in jQuery.parseHTML
Close gh-1505
2014-12-09 15:19:01 -05:00
Dave Methvin
80022c81ce Core: Throw an error on $("#") rather than returning 0-length collection
Closes gh-1682

Thanks @goob for the issue report!
2014-12-03 14:51:24 -05:00
Oleg Gaidarenko
fbdbb6fd43 Build: Move test to appropriate module 2014-06-16 03:08:46 +04:00
Oleg Gaidarenko
bbdfbb4ee8 Ajax: Always use script injection in globalEval
Fixes #14757
Closes gh-1449
2014-06-16 03:08:46 +04:00
Richard Gibson
ff9dcfb0c4 Tests: Clean up isNumeric tests
(cherry picked from commit d05f4bda1c)
2014-06-07 14:35:01 -04:00
Richard Gibson
e1192af872 Core: Work around loss of precision from parseFloat
Fixes #15100
(cherry picked from commit b6e99eb43c)
2014-06-07 14:35:01 -04:00
Michał Gołębiowski
da148f158f Core: Correct the number of expected tests 2014-05-02 16:03:52 +02:00
Liang Peng
69d4a48ff6 Core: Remove repeated test
Closes gh-1570
2014-05-02 15:49:28 +02:00
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