diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2013-11-11 00:43:18 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2013-11-11 00:43:18 +0100 |
commit | ef7f8f1ead0d80e53cde0a2c7d6af289bd182ce0 (patch) | |
tree | fad92693902a53b286d1481a0774bde24ad51ddb /test/unit | |
parent | 14272ba9d1b44e6a9b7b5551598e7d0944563adf (diff) | |
download | jquery-ef7f8f1ead0d80e53cde0a2c7d6af289bd182ce0.tar.gz jquery-ef7f8f1ead0d80e53cde0a2c7d6af289bd182ce0.zip |
No ticket. Remove version sniffing from test/unit/support.js, browsers got updated.
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/support.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/unit/support.js b/test/unit/support.js index b87299d53..24578a058 100644 --- a/test/unit/support.js +++ b/test/unit/support.js @@ -79,11 +79,10 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec ); (function() { - var expected, version, + var expected, userAgent = window.navigator.userAgent; if ( /chrome/i.test( userAgent ) ) { - version = userAgent.match( /chrome\/(\d+)/i )[ 1 ]; expected = { "ajax": true, "appendChecked": true, @@ -111,7 +110,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec "optDisabled": true, "optSelected": true, "ownLast": false, - "pixelPosition": version >= 28, + "pixelPosition": true, "radioValue": true, "reliableHiddenOffsets": true, "reliableMarginRight": true, @@ -417,12 +416,11 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec "tbody": true }; } else if ( /firefox/i.test( userAgent ) ) { - version = userAgent.match( /firefox\/(\d+)/i )[ 1 ]; expected = { "ajax": true, "appendChecked": true, "boxSizing": true, - "boxSizingReliable": version >= 23, + "boxSizingReliable": true, "changeBubbles": true, "checkClone": true, "checkOn": true, |