Michał Gołębiowski-Owczarek
90a3c43982
Tests: Strip untypical callback parameter characters from PHP files
...
Only allow alphanumeric characters & underscores for callback parameters.
This is only test code so we're not fixing any security issue but it happens
often enough that the whole jQuery repository directory structure is deployed
onto the server with PHP enabled that it makes is easy to introduce security
issues if this cleanup is not done.
This is a 1.x/2.x version of PR gh-4871.
The change doesn't require a release; it's meant at installations testing
the latest state of `1.12-stable` & `2.2-stable` branches.
This change also fixes testing on Travis & on Chrome/Firefox.
Closes gh-4875
Ref gh-4764
Ref gh-4871
(cherry picked from acb7c49c8d
)
2021-04-29 18:38:11 +02:00
Timmy Willison
c41defb7f3
CSS: ensure table styles do not affect reliableHiddenOffsets test
...
Fixes gh-3065
Close gh-3057
2016-05-11 18:24:23 -04:00
Timmy Willison
c43066c41e
CSS: disconnected elements should be hidden
...
Fixes gh-3043
2016-05-11 18:24:00 -04:00
Michał Gołębiowski
fba81c09cc
Tests: Make the regex catching Safari 9.0/9.1 more resilient
...
The word boundary character will prevent iOS from being a false positive.
(cherry-picked from 7f2ebd2c4d
)
2016-05-02 23:33:07 +02:00
Michał Gołębiowski
9d41fc1466
Tests: take Safari 9.1 into account
...
Safari 9.1 shares its support test results with Safari 9.0 but it's been
excluded from the regex catching Safari 9.0. This has been fixed.
(cherry-picked from 234a2d8280
)
2016-05-02 22:50:25 +02:00
Oleg Gaidarenko
92781dad21
Ajax: execute jQuery#load callback with correct context
...
Thanks @blq (Fredrik Blomqvist)
Fixes gh-3035
Close gh-3039
2016-04-04 16:24:07 -04:00
Michał Gołębiowski
cfe830eefd
Revert "Ajax: Mitigate possible XSS vulnerability"
...
This reverts commit f60729f390
.
Fixes gh-3011
Refs ad358fd62b
2016-03-23 12:44:29 +01:00
Timmy Willison
92fb9de22c
Attributes: ignore option value mismatch on untrimmed unicode whitespace
2016-03-17 13:03:39 -04:00
Timmy Willison
da015d9ca0
Attributes: strip/collapse whitespace for set values on selects
...
Fixes gh-2978
Close gh-3002
2016-03-17 12:32:52 -04:00
Timmy Willison
88b91af26e
Core: fix isPlainObject(Object.create) test in IE
2016-03-07 12:02:20 -05:00
Timmy Willison
b18894720a
Attributes: fix setting selected on an option in IE<=11
...
Fixes gh-2732
Close gh-2840
2016-03-07 11:29:06 -05:00
Timmy Willison
63317eb474
Core: restore enumeration behavior in isPlainObject
...
Fixes gh-2968
Close gh-2970
2016-03-07 11:29:06 -05:00
Michał Gołębiowski
6403cf614f
Core: drop the document.implementation.createHTMLDocument usage
...
The document.implementation.createHTMLDocument("") method creates inert
documents which is good but using it has introduced issues around anchor
elements href property not resolving according to the current document.
Because of that, this patch is getting backed out on 1.x/2.x branches.
(cherry-picked from c5c3073531
)
Refs cfe468f29c
Refs gh-1505
Fixes gh-2941
2016-03-02 12:34:06 +01:00
Timmy Willison
ef2a06eb61
Build: use hard-coded path to sizzle in selector-sizzle
...
Fixes gh-2898
2016-02-22 10:43:47 -05:00
Zack Hall
e456c30a2d
Tests: Set Edge's expected support for clearCloneStyle to true
...
This is done for a version 13 or newer as the bug still exists in Edge
12.
(cherry-picked from 28f0329a02
)
Closes gh-2857
2016-02-13 20:45:58 +01:00
Oleg Gaidarenko
7dbf1c1b2b
Tests: use jQuery
variable instead of $
...
For some reason that works with `amd` but not with builded version
Fixes gh-2909
2016-02-13 21:23:05 +03:00
Oleg Gaidarenko
a047d4112f
Build: use tabs in CSS, also simplify and correct .editorconfig
...
See https://contribute.jquery.org/style-guide/css/#spacing
> Indentation with tabs.
2016-02-11 22:56:03 +03:00
Oleg Gaidarenko
c3b1d9c07e
Tests: test element position outside view
...
Ref a0f5c357c4
Ref gh-2828
Ref gh-2836
Fixes gh-2909
2016-02-11 22:55:58 +03:00
Oleg Gaidarenko
a0f5c357c4
Revert "Offset: account for scroll when calculating position"
...
This reverts commit 0654711e0d
.
This commit provoked new issues: gh-2836, gh-2828.
At the meeting, we decided to revert offending commit
(in all three branches - 2.2-stable, 1.12-stable and master)
and tackle this issue in 3.x.
Fixes gh-2828
2016-02-09 00:10:02 +03:00
Timmy Willison
e7e80fe476
CSS: Add test for gh-2867
2016-01-27 11:39:32 -05:00
Devin Wilson
5938a21466
Event: Add tests for chaining .on() with null handlers
...
Fixes gh-2812
Close gh-2825
2016-01-15 13:50:02 -05:00
Timmy Willison
8c293e62bb
Core: use interactive to evaluate dom ready, barring IE6-10
...
Fixes gh-2100
Close gh-2821
2016-01-14 10:18:31 -05:00
Michał Gołębiowski
d19aa97463
Tests: compat -> 1.x in comments
...
(cherry-picked from df31b88135
)
2016-01-11 19:23:28 +01:00
Michał Gołębiowski
704de8180f
Tests: Disable/relax a few tests failing in Android 2.3
...
Fixes gh-1785
2016-01-07 23:07:58 +01:00
Jun Sun
01fb17be63
CSS: Add animation-iteration-count to cssNumber, fix tests
...
(cherry-picked from df822caff0
)
Fixes gh-2792
Closes gh-2793
2016-01-07 21:56:19 +01:00
Timmy Willison
56b965655a
Tests: use assert syntax in restored test
2016-01-07 14:10:04 -05:00
Timmy Willison
771600f858
Revert "Event: remove guard for falsy handler argument of jQuery#on method"
...
This reverts commit fac67a9842
.
2016-01-07 13:59:47 -05:00
Timmy Willison
3870fbd6e7
Revert "Attributes: Remove undocumented .toggleClass( boolean ) signature"
...
This reverts commit f24726daa3
.
2016-01-07 13:09:30 -05:00
Timmy Willison
d133ac4616
Revert "Deprecated: Drop size and andSelf methods"
...
This reverts commit f1913cf031
.
2016-01-07 12:25:47 -05:00
Timmy Willison
d224acbe47
Tests: fix support values for android
2016-01-07 10:57:03 -05:00
Timmy Willison
1f85ded204
Effects: add back support.shrinkWrapBlocks() for ie6
2016-01-06 16:24:22 -05:00
Timmy Willison
729c75f4ff
Tests: fix support tests in ie9
2016-01-06 14:13:29 -05:00
Timmy Willison
77f9b1e803
CSS: fix reliableHiddenOffsets support test for IE6-7
2016-01-06 14:05:18 -05:00
Timmy Willison
ce4d7caa17
Revert "Manipulation: simplify html wrappers"
...
This reverts commit b744a50d47
.
2016-01-06 14:05:17 -05:00
Timmy Willison
373607aa78
Revert "Ajax: use anchor tag for parsing urls"
...
This reverts commit de7ae8cd17
.
2016-01-06 14:05:17 -05:00
Timmy Willison
e3c8968509
Revert "Misc: Drop support for older browsers; update support comments"
...
This reverts commit 90d7cc1d8b
.
2016-01-06 14:05:11 -05:00
Oleg Gaidarenko
f21d43a114
Wrap: correct tests length
2015-12-22 21:54:09 +03:00
Oleg Gaidarenko
71c7c8d0ba
Revert "Wrap: Support .unwrap( selector) for selective unwrapping"
...
This reverts commit e38138af6a
.
2015-12-22 21:20:16 +03:00
Oleg Gaidarenko
7cfa4b26bc
Revert "Core: Return empty array instead of null for parseHTML("")"
...
This reverts commit 61bb61279c
.
2015-12-22 21:01:43 +03:00
Michał Gołębiowski
bc53033080
Effects: Remove tests for jQuery.Animation & jQuery.Tween
...
We'll officially support those APIs in jQuery 3.0 but we don't want to have to
support them in 1.12/2.2.
The code is left untouched, only tests (& official support) are removed.
Refs b3b2d6c3dd
Refs cdaed15c7e
Cherry-picked from a5864aefdf
2015-12-22 20:31:13 +03:00
Oleg Gaidarenko
813b7e4c8d
Build: remove needless file and re-enable jscs
2015-12-22 20:17:27 +03:00
Oleg Gaidarenko
14eba98c8f
Build: code style fixes after all those reverts
2015-12-22 18:51:04 +03:00
Oleg Gaidarenko
c9546c6be5
Revert "Ajax: Always use script injection in globalEval"
...
This reverts commit 37f0f7f42c
.
2015-12-22 18:16:52 +03:00
Oleg Gaidarenko
e5256a6578
Revert "Effects: Reintroduce use of requestAnimationFrame"
...
This reverts commit 06a4540696
.
2015-12-22 18:05:42 +03:00
Oleg Gaidarenko
a769a0105e
Revert "Effects: Improve raf logic"
...
This reverts commit 9dc29a2b13
.
2015-12-22 18:05:38 +03:00
Oleg Gaidarenko
0b5e8dba05
Revert "Core: Remove deprecated context and selector properties"
...
This reverts commit e2ec5da2a7
.
2015-12-22 18:00:00 +03:00
Oleg Gaidarenko
fd5858f542
Revert "Core: Throw an error on $("#") rather than returning 0-length collection"
...
This reverts commit 93f95c9663
.
2015-12-22 17:52:22 +03:00
Oleg Gaidarenko
9f2dcb93f8
Offset: do not run tests which break without back-incompat change
...
See 9d1d4c272a
2015-12-22 17:46:47 +03:00
Oleg Gaidarenko
b85f32f74e
Tests: correct revert artefact
2015-12-22 17:35:41 +03:00
Oleg Gaidarenko
04d6895b7b
Revert "Manipulation: make wrapAll funarg execute only once"
...
This reverts commit 3dcee02160
.
2015-12-22 17:35:23 +03:00