aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/support.js
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2017-05-15 20:37:14 +0200
committerGitHub <noreply@github.com>2017-05-15 20:37:14 +0200
commit731c501155ef139f53029c0e58409b80f0af3a0c (patch)
treecf75a0d854ec1c70a755181a66dd5af3452d590d /test/unit/support.js
parentbbf334282b5c27394fc507b1778cf21850be7b93 (diff)
downloadjquery-731c501155ef139f53029c0e58409b80f0af3a0c.tar.gz
jquery-731c501155ef139f53029c0e58409b80f0af3a0c.zip
Docs:Tests: Update IE/Edge-related support comments & tests
Closes gh-3661
Diffstat (limited to 'test/unit/support.js')
-rw-r--r--test/unit/support.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/unit/support.js b/test/unit/support.js
index 5be781942..daa8dc664 100644
--- a/test/unit/support.js
+++ b/test/unit/support.js
@@ -55,17 +55,16 @@ testIframe(
);
( function() {
- var expected, version,
+ var expected,
userAgent = window.navigator.userAgent;
if ( /edge\//i.test( userAgent ) ) {
- version = userAgent.match( /edge\/(\d+)/i )[ 1 ];
expected = {
"ajax": true,
"boxSizingReliable": true,
"checkClone": true,
"checkOn": true,
- "clearCloneStyle": version >= 13,
+ "clearCloneStyle": true,
"cors": true,
"createHTMLDocument": true,
"focusin": false,