Tests: take Safari 9.1 into account

Safari 9.1 shares its support test results with Safari 9.0 but it's been
excluded from the regex catching Safari 9.0. This has been fixed.

(cherry-picked from 234a2d8280)
This commit is contained in:
Michał Gołębiowski 2016-05-02 22:49:17 +02:00
parent 70025d0e65
commit b9272aaedc

View File

@ -150,7 +150,7 @@ testIframeWithCallback(
"reliableMarginLeft": true, "reliableMarginLeft": true,
"reliableMarginRight": true "reliableMarginRight": true
}; };
} else if ( /9\.0(\.\d+|) safari/i.test( userAgent ) ) { } else if ( /9(\.\d+|) safari/i.test( userAgent ) ) {
expected = { expected = {
"ajax": true, "ajax": true,
"boxSizingReliable": true, "boxSizingReliable": true,