aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/effects.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2020-09-22 17:49:28 +0200
committerGitHub <noreply@github.com>2020-09-22 17:49:28 +0200
commite35fb62db4fb46f031056bb53e393982c03972a1 (patch)
treeae55e7e05133da5637d188d73c312c4538d8b5b4 /test/unit/effects.js
parent15ae361485056b236a9484a185238f992806e1ff (diff)
downloadjquery-e35fb62db4fb46f031056bb53e393982c03972a1.tar.gz
jquery-e35fb62db4fb46f031056bb53e393982c03972a1.zip
Core: Drop support for Edge Legacy (i.e. non-Chromium Microsoft Edge)
Drop support for Edge Legacy: the non-Chromium, EdgeHTML-based Microsoft Edge version. Also, restrict some workarounds that were applied unconditionally in all browsers to run only in IE now. This slightly increases the size but reduces the performance burden on modern browsers that don't need the workarounds. Also, clean up some comments & remove some obsolete workarounds. Fixes gh-4568 Closes gh-4792
Diffstat (limited to 'test/unit/effects.js')
-rw-r--r--test/unit/effects.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js
index 0acb393ce..2278b3afb 100644
--- a/test/unit/effects.js
+++ b/test/unit/effects.js
@@ -216,9 +216,9 @@ supportjQuery.each( hideOptions, function( type, setup ) {
clock.tick( 300 );
} );
- // Support: IE 11+, Edge 12 - 18+
- // IE/Edge don't support Shadow DOM.
- QUnit[ document.body.getRootNode ? "test" : "skip" ](
+ // Support: IE 11+
+ // IE doesn't support Shadow DOM.
+ QUnit.testUnlessIE(
"Persist correct display value - " + type + " hidden, shadow child", function( assert ) {
assert.expect( 3 );