aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2013-11-11 00:42:37 +0100
committerMichał Gołębiowski <m.goleb@gmail.com>2013-11-11 00:42:37 +0100
commit2ace149f485438e8a3af6650f3bb18c1c22e48b6 (patch)
tree4b252c8865631bccaf72d72a337d1b0c4dd3bd79
parent7d5a12376d18e0ec70241e653721ce9977123d34 (diff)
downloadjquery-2ace149f485438e8a3af6650f3bb18c1c22e48b6.tar.gz
jquery-2ace149f485438e8a3af6650f3bb18c1c22e48b6.zip
No ticket. Remove version sniffing from test/unit/support.js, browsers got updated.
-rw-r--r--test/unit/support.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/unit/support.js b/test/unit/support.js
index 46195d49b..86cc7a269 100644
--- a/test/unit/support.js
+++ b/test/unit/support.js
@@ -48,11 +48,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,
"boxSizingReliable": true,
@@ -64,7 +63,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"noCloneChecked": true,
"optDisabled": true,
"optSelected": true,
- "pixelPosition": version >= 28,
+ "pixelPosition": true,
"radioValue": true,
"reliableMarginRight": true
};
@@ -149,10 +148,9 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"reliableMarginRight":true
};
} else if ( /firefox/i.test( userAgent ) ) {
- version = userAgent.match( /firefox\/(\d+)/i )[ 1 ];
expected = {
"ajax": true,
- "boxSizingReliable": version >= 23,
+ "boxSizingReliable": true,
"checkClone": true,
"checkOn": true,
"clearCloneStyle": true,