Michał Gołębiowski-Owczarek
acb7c49c8d
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
2021-04-29 18:27:58 +02:00
Oleg Gaidarenko
30536d3143
Tests: adjust to older version of qunit
...
Ref 66b840618d
2016-05-20 13:50:09 +03:00
Oleg Gaidarenko
66b840618d
Event: don't execute native stop(Immediate)Propagation from simulation
...
In Firefox, called `stop(Immediate)Propagation` methods,
in capturing phase prevents receiving focus
Cherry-picked from 94efb79929
Fixes gh-3111
2016-05-19 22:22:13 +03:00
Michał Gołębiowski
b052e16cd3
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:31:25 +02:00
Michał Gołębiowski
b9272aaedc
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:49:56 +02:00
Oleg Gaidarenko
ac13b23bf0
Ajax: execute jQuery#load callback with correct context
...
Thanks @blq (Fredrik Blomqvist)
Fixes gh-3035
Close gh-3039
2016-04-04 16:23:43 -04:00
Timmy Willison
e7af951add
Attributes: strip/collapse whitespace for set values on selects
...
Fixes gh-2978
Close gh-3002
2016-03-17 12:27:12 -04:00
Richard Gibson
0ef97b5939
Core: Restore 1.x isPlainObject constructor checks
...
- Guard isPlainObject against inherited scalar constructors
Fixes gh-2982
Close gh-2985
2016-03-14 11:43:36 -04:00
Timmy Willison
67d4aebda7
Attributes: fix setting selected on an option in IE<=11
...
Fixes gh-2732
Close gh-2840
2016-03-07 11:23:40 -05:00
Timmy Willison
63397aaaea
Core: restore enumeration behavior in isPlainObject
...
Fixes gh-2968
Close gh-2970
2016-03-07 11:23:33 -05:00
Michał Gołębiowski
c5c3073531
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.
Refs cfe468f29c
Refs gh-1505
Fixes gh-2941
2016-03-02 12:28:00 +01:00
Timmy Willison
b536cd561f
Build: use hard-coded path to sizzle in selector-sizzle
...
Fixes gh-2898
2016-02-22 10:43:02 -05:00
Zack Hall
d230d51731
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:44:04 +01:00
Oleg Gaidarenko
b3517760a3
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:22:54 +03:00
Oleg Gaidarenko
30202be6e1
Tests: test element position outside view
...
Ref ee0f61647c
Ref gh-2828
Ref gh-2836
Fixes gh-2909
2016-02-11 22:55:34 +03:00
Oleg Gaidarenko
ee0f61647c
Revert "Offset: account for scroll when calculating position"
...
This reverts commit 2d715940b9
.
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:14:19 +03:00
Timmy Willison
cff3957457
CSS: Add test for gh-2867
2016-01-27 11:37:35 -05:00
Devin Wilson
c4d9eac930
Event: Fix chaining .on() with null handlers
...
Fixes gh-2812
Close gh-2825
2016-01-15 13:48:53 -05:00
Michał Gołębiowski
df31b88135
Event: compat -> 1.x in comments
...
Ref 3c56eac507
2016-01-11 19:21:45 +01:00
Michał Gołębiowski
3f839af50b
Tests: hotfix for c1511c6731
...
Refs c1511c6731
2016-01-07 23:30:51 +01:00
Michał Gołębiowski
27325311db
Tests: Accept Android 2.3 doesn't fire window.onerror for remote scripts
...
A followup to 1a9c9b0791
2016-01-07 23:26:12 +01:00
Michał Gołębiowski
1a9c9b0791
Tests: Disable/relax a few tests failing in Android 2.3
...
(cherry-picked from 704de8180f
)
Fixes gh-1785
2016-01-07 23:14:55 +01:00
Timmy Willison
c1511c6731
Data: find hyphenated data with camelCased key
...
Fixes gh-2779
2016-01-07 16:50:59 -05:00
Jun Sun
b9a695865b
CSS: Add animation-iteration-count to cssNumber, fix tests
...
Fixes gh-2792
Closes gh-2793
2016-01-07 21:54:52 +01:00
Timmy Willison
636a2bd4e0
Tests: fix lint in restored test
2016-01-07 14:08:43 -05:00
Timmy Willison
0ee94bcb9d
Revert "Event: remove guard for falsy handler argument of jQuery#on method"
...
This reverts commit fac67a9842
.
2016-01-07 14:03:04 -05:00
Timmy Willison
fea7da7ea2
Revert "Attributes: Remove undocumented .toggleClass( boolean ) signature"
...
This reverts commit 53f798cf4d
.
2016-01-07 13:06:10 -05:00
Timmy Willison
13d2de7efc
Core:CSS: disable 2 tests for Opera 12
2016-01-06 17:00:50 -05:00
Oleg Gaidarenko
077bf7341e
Revert "Core: make isNumeric limited to strings and numbers"
...
This reverts commit 15ac848868
.
2015-12-09 18:43:05 +03:00
Michał Gołębiowski
4fea389ad2
Tests: Fix support tests results for Android 2.3
2015-11-17 03:50:56 +01:00
Michał Gołębiowski
a5864aefdf
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
2015-11-17 03:16:44 +01:00
Michał Gołębiowski
e904249ee0
Tests: Fix Safari 5.1 support tests results
2015-11-16 22:48:14 +01:00
Michał Gołębiowski
283a194955
Tests: Blacklist the iframe scrollTop test in Opera 12.1x
2015-11-16 22:16:10 +01:00
Michał Gołębiowski
f6dd76709a
Tests: Fix support tests results
2015-11-16 22:11:39 +01:00
Michał Gołębiowski
afe40dd4d3
Revert "Ajax:Attributes:CSS:Manipulation: Reduce Android 2.3 support"
...
This reverts commit ce3b4a6242
.
2015-11-16 22:04:20 +01:00
Michał Gołębiowski
1ad9915d11
Misc: Fix the tests, revert some unneeded/broken reverts
...
Refs 65d71843b7
2015-11-16 21:55:08 +01:00
Michał Gołębiowski
65d71843b7
Revert "Misc: Drop support for older browsers; update support comments"
...
This reverts commit 740e190223
.
2015-11-16 21:25:05 +01:00
Oleg Gaidarenko
ae88b3971c
Release: fix revert artefacts
2015-11-13 22:25:29 +03:00
Oleg Gaidarenko
0a98623abb
Effects: manually revert two requestAnimationFrame
commits
...
72119e0023
and bbdfbb4ee8
2015-11-13 20:06:18 +03:00
Oleg Gaidarenko
741fe39ac8
Revert "Manipulation: execute scripts from iframe in the iframe's context"
...
This reverts commit 22449eb968
.
2015-11-13 20:06:18 +03:00
Oleg Gaidarenko
91acd85b16
Revert "Ajax: Always use script injection in globalEval"
...
This reverts commit bbdfbb4ee8
.
2015-11-13 20:04:54 +03:00
Oleg Gaidarenko
9d1d4c272a
Offset: do not run tests which break without back-incompat change
2015-11-13 20:04:54 +03:00
Oleg Gaidarenko
e2af987877
Release: fix revert artefacts
2015-11-13 20:04:49 +03:00
Oleg Gaidarenko
de30e4a73d
Revert "Deprecated: Drop size and andSelf methods"
...
This reverts commit f110360f65
.
2015-11-13 20:04:24 +03:00
Oleg Gaidarenko
ea2f10c104
Revert "Manipulation: support data-URI scripts insertion"
...
This reverts commit 15f4dec789
.
2015-11-13 20:04:24 +03:00
Oleg Gaidarenko
bbd453c058
Revert "Core: Throw an error on $("#") rather than returning 0-length collection"
...
This reverts commit 80022c81ce
.
2015-11-13 20:04:24 +03:00
Oleg Gaidarenko
f1fb094d8e
Revert "Manipulation: improve test for data-URI"
...
This reverts commit dd596ccf72
.
2015-11-13 20:04:24 +03:00
Oleg Gaidarenko
276282146a
Revert "Manipulation: make wrapAll funarg execute only once"
...
This reverts commit 359b03cac7
.
2015-11-13 20:04:24 +03:00
Oleg Gaidarenko
3655260866
Release: remove revert artefacts
2015-11-13 20:04:19 +03:00
Oleg Gaidarenko
793925ff3b
Revert "Callbacks: Don't abort execution on .lock()"
...
This reverts commit 32bf9178ca
.
2015-11-13 20:04:19 +03:00