aboutsummaryrefslogtreecommitdiffstats
path: root/test/jquery.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/jquery.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/jquery.js')
-rw-r--r--test/jquery.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/jquery.js b/test/jquery.js
index 2d12a5ff3..329285251 100644
--- a/test/jquery.js
+++ b/test/jquery.js
@@ -58,8 +58,8 @@
// This doesn't apply to iframes because they synchronously expect jQuery to be there.
if ( config.esmodules && QUnit ) {
- // Support: IE 11+, Edge 12 - 18+
- // IE/Edge don't support the dynamic import syntax so they'd crash
+ // Support: IE 11+
+ // IE doesn't support the dynamic import syntax so it would crash
// with a SyntaxError here.
dynamicImportSource = "" +
"import( `${ parentUrl }src/jquery.js` )\n" +