Commit Graph

236 Commits

Author SHA1 Message Date
Oleg Gaidarenko
dd596ccf72 Manipulation: improve test for data-URI
Some environments do not support data-uri in "src" attribute of script element.
Mitigate it with equality assertion

Ref a467f8653a
2014-12-08 09:26:15 +03:00
Bin Xin
15f4dec789 Manipulation: support data-URI scripts insertion
Fixes gh-1887
Closes gh-1888
2014-12-03 04:54:53 +03:00
Oleg Gaidarenko
bbdfbb4ee8 Ajax: Always use script injection in globalEval
Fixes #14757
Closes gh-1449
2014-06-16 03:08:46 +04:00
Michał Gołębiowski
787562247b Ajax, Manipulation: don't test cross-document manip in Android 2.3 2014-05-05 15:45:57 +02:00
Oleg Gaidarenko
f3b89ba082 Tests: Fix failing ajax tests in oldIE
(cherry-picked from the 7178096507)

Picked up so tests from the 1.x-master would be more similar to this branch
2014-04-15 17:46:00 +04:00
Rick Waldron
d792e40fbc Tests: remove all the empty line whitespace 2014-02-11 10:59:14 -08: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
Jakob Stoeck
ed291938c2 Add unit tests for .html( number ). Close gh-1447. 2013-11-26 10:13:15 -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
Chris Antaki
fb2e0a0c28 Fix #11809: Update text without creating DOM nodes. Close gh-1412. 2013-11-05 17:13:49 -05:00
Oleg
642e9a4557 Simplify replaceWith method. Closes gh-1276 2013-09-17 13:24:27 +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
Oleg
3a6194076b Fix #13818: Add wrapMap entry for col element 2013-04-24 22:15:41 +04:00
Richard Gibson
d8f7e83712 Fix #13810: .replaceWith(nextSibling) 2013-04-22 21:08:38 -04:00
Richard Gibson
039371c741 Followup #13779: Backwards-compatible unit test
(cherry picked from commit 12a1017290)
2013-04-17 12:25:48 -04:00
Richard Gibson
03db1ada2c Fix #12838: hook point for non-jQuery.ajax synchronous script fetch/execute in domManip. Close gh-1051. 2013-04-17 11:27:57 -04:00
Rick Waldron
77d7f26452 Fixes #13779. Remove nodes in document order (uses for loop matching empty()). 2013-04-16 22:18:44 -04:00
Richard Gibson
db0326b1fd Fix #13596; #13722: .replaceWith consistency. Close gh-1216. 2013-04-16 17:47:21 -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
bea0d9a49d Separate test/unit/wrap.js; make tests not fail when wrap module excluded 2013-04-09 00:00:02 +02:00
Dave Methvin
1b61026650 Fix #13721. Filter before .remove() loop so positionals work. Close gh-1221. 2013-04-06 16:37:32 -04:00
Dave Methvin
5031c9db4b Fix #13741. Make wrap/unwrap methods optional. Close gh-1222. 2013-04-06 16:00:58 -04:00
Michał Gołębiowski
8ca9f931ec bind/unbind changed to on/off in unit tests; refs #13554 2013-03-25 22:06:49 -04: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
Mark Raddatz
6a0ee2d9ed Fix #13401: replaceWith(""). Close gh-1163. 2013-02-08 09:49:14 -05:00
Dave Methvin
6f7b6915bf Fix #12656. Make event shorthands excludable. 2013-01-27 09:07:00 -05:00
Oleg
19def21df4 Fix #13232, fix jQuery.buildFragment for tables, close gh-1138. 2013-01-20 18:30:56 -05:00
Richard Gibson
a96aa9e270 Fix #13233: re-allow .replaceWith of text nodes. Close gh-1137.
(cherry picked from commit 6b1b0a26b4)
2013-01-16 13:57:00 -05:00
Richard Gibson
306b698813 No ticket: improve replaceWith testing
(cherry picked from commit 13468abaeb)
2013-01-16 12:31:23 -05:00
Oleg
8e6c1ba92f Ref gh-1117: Don't stop on a falsy value in buildFragment. Close gh-1124. 2013-01-09 09:52:01 -05:00
jaubourg
18c376a5bd Adjusts unit test regarding exception in injected scripts so that it accounts for the exception being thrown in an event loop for remote scripts 2013-01-08 14:04:00 +01:00
Oleg
c9bf5c5e90 Bring back jQuery.buildFragment and remove jQuery.clean 2013-01-08 02:41:15 +00:00
Dave Methvin
cef3450228 Remove noCloneEvent detects and white-box unit test. 2013-01-03 20:55:59 -05:00
Oleg
72e9e91612 Add tests for th element 2012-12-28 20:27:59 +04:00
Oleg
4862eb43e3 Add more tests for wrapMap 2012-12-28 20:16:28 +04:00
Oleg
acb206a488 Add test for td append 2012-12-28 20:06:04 +04:00
Oleg
9dbfbe5b9a wrapMap.thead = wrapMap.tr
Add support comments
2012-12-28 19:50:22 +04:00
Oleg
b3e546c4eb Rewrite tests for colgroup, caption
Add tests for thead, tbody, tfoot
2012-12-28 19:43:01 +04:00
Oleg
d3d8ed443c Add comments for optgroup and option elements in wrapMap
Add tests for optgroup element
2012-12-28 18:56:29 +04:00
Oleg
f193acf3a1 Remove fix for #4484, add more tests 2012-12-28 18:54:47 +04:00
Oleg
f7528916a2 Use tabs instead of spaces 2012-12-24 04:47:13 +04:00
Oleg
2dd2e4886b Use tabs instead of spaces
"$" => "jQuery"
2012-12-24 03:04:19 +04:00
Oleg
a3ddcc5fce Add additional test 2012-12-24 03:04:19 +04:00
Oleg
32cfbd6d67 Add additional test 2012-12-24 03:04:18 +04:00
Oleg
5afc93c436 Fix #13094. Pass index to .before(fn) fn as documented. Close gh-1093. 2012-12-20 20:55:30 -05:00
Richard Gibson
30e2ffbeb8 Resolve a763ae72 test failures 2012-12-15 23:42:24 -05:00
Oleg
643ecf9d63 Ref #8908, gh-886. Avoid clone identity crisis in IE9/10. Close gh-1036. 2012-12-13 10:42:43 -05:00
Dave Methvin
0018f7700b Fix #11230. .appendTo and pals should always stack. 2012-12-13 09:19:41 -05:00