aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/support.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/unit/support.js b/test/unit/support.js
index 6a51ccb8a..f51c53502 100644
--- a/test/unit/support.js
+++ b/test/unit/support.js
@@ -53,16 +53,17 @@ testIframeWithCallback(
);
( function() {
- var expected,
+ var expected, version,
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": false,
+ "clearCloneStyle": version >= 13,
"cors": true,
"createHTMLDocument": true,
"focusin": false,