Tests: Add test results for Safari 10/iOS 10, remove for Safari 8

This commit is contained in:
Michał Gołębiowski 2016-09-19 18:55:12 +02:00
parent b5d09b90ca
commit 223ed99f4a

View File

@ -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,
@ -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,
@ -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,