Skip to content

Commit

Permalink
Tests: Make the regex catching Safari 9.0/9.1 more resilient
Browse files Browse the repository at this point in the history
The word boundary character will prevent iOS from being a false positive.

(cherry-picked from 7f2ebd2)
  • Loading branch information
mgol committed May 2, 2016
1 parent 9d41fc1 commit fba81c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/support.js
Expand Up @@ -416,7 +416,7 @@ testIframeWithCallback(
"submit": true,
"tbody": true
};
} else if ( /9(\.\d+|) safari/i.test( userAgent ) ) {
} else if ( /\b9\.\d(\.\d+)* safari/i.test( userAgent ) ) {
expected = {
"ajax": true,
"appendChecked": true,
Expand Down

0 comments on commit fba81c0

Please sign in to comment.