Skip to content

Commit

Permalink
Tests: Add test results for Safari 10/iOS 10, remove for Safari 8
Browse files Browse the repository at this point in the history
  • Loading branch information
mgol committed Sep 19, 2016
1 parent b5d09b9 commit 223ed99
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions test/unit/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ testIframe(
"radioValue": true,
"reliableMarginLeft": true
};
} else if ( /\b9\.\d(\.\d+)* safari/i.test( userAgent ) ) {
} else if ( /\b(?:9|10)\.\d(\.\d+)* safari/i.test( userAgent ) ) {
expected = {
"ajax": true,
"boxSizingReliable": true,
Expand All @@ -147,23 +147,6 @@ testIframe(
"radioValue": true,
"reliableMarginLeft": true
};
} else if ( /8\.0(\.\d+|) safari/i.test( userAgent ) ) {
expected = {
"ajax": true,
"boxSizingReliable": true,
"checkClone": true,
"checkOn": true,
"clearCloneStyle": true,
"cors": true,
"createHTMLDocument": false,
"focusin": false,
"noCloneChecked": true,
"optSelected": true,
"pixelMarginRight": true,
"pixelPosition": false,
"radioValue": true,
"reliableMarginLeft": true
};
} else if ( /firefox/i.test( userAgent ) ) {
expected = {
"ajax": true,
Expand All @@ -181,7 +164,7 @@ testIframe(
"radioValue": true,
"reliableMarginLeft": false
};
} else if ( /iphone os 9_/i.test( userAgent ) ) {
} else if ( /iphone os (?:9|10)_/i.test( userAgent ) ) {
expected = {
"ajax": true,
"boxSizingReliable": true,
Expand Down

0 comments on commit 223ed99

Please sign in to comment.