aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2015-06-17 19:27:06 +0200
committerMichał Gołębiowski <m.goleb@gmail.com>2015-06-23 00:33:51 +0200
commit453738ab85600d8f8201fcf89e40b68f076c5cbd (patch)
tree4628431b031de91cd1851b31b46646ebdbd5dec8 /test/unit
parenta0a5c0be2def09f8d380a69d8e6f000169123990 (diff)
downloadjquery-453738ab85600d8f8201fcf89e40b68f076c5cbd.tar.gz
jquery-453738ab85600d8f8201fcf89e40b68f076c5cbd.zip
Core: Change support.ownLast to support.ownFirst
jQuery.support.ownLast was the only support test that was supposed to be false when it succeeded. It was confusing. Fixes gh-2406 Closes gh-2408
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/support.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/unit/support.js b/test/unit/support.js
index 03b7d9613..07478e014 100644
--- a/test/unit/support.js
+++ b/test/unit/support.js
@@ -91,7 +91,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"opacity": true,
"optDisabled": true,
"optSelected": true,
- "ownLast": false,
+ "ownFirst": true,
"pixelMarginRight": true,
"pixelPosition": true,
"radioValue": true,
@@ -123,7 +123,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"opacity": true,
"optDisabled": true,
"optSelected": false,
- "ownLast": false,
+ "ownFirst": true,
"pixelMarginRight": true,
"pixelPosition": true,
"radioValue": false,
@@ -155,7 +155,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"opacity": true,
"optDisabled": true,
"optSelected": false,
- "ownLast": false,
+ "ownFirst": true,
"pixelMarginRight": true,
"pixelPosition": true,
"radioValue": false,
@@ -187,7 +187,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"opacity": false,
"optDisabled": true,
"optSelected": false,
- "ownLast": true,
+ "ownFirst": false,
"pixelMarginRight": true,
"pixelPosition": false,
"radioValue": false,
@@ -221,7 +221,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"opacity": true,
"optDisabled": true,
"optSelected": true,
- "ownLast": false,
+ "ownFirst": true,
"pixelMarginRight": true,
"pixelPosition": true,
"radioValue": true,
@@ -253,7 +253,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"opacity": true,
"optDisabled": true,
"optSelected": true,
- "ownLast": false,
+ "ownFirst": true,
"pixelMarginRight": true,
"pixelPosition": false,
"radioValue": true,
@@ -285,7 +285,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"opacity": true,
"optDisabled": true,
"optSelected": true,
- "ownLast": false,
+ "ownFirst": true,
"pixelMarginRight": true,
"pixelPosition": false,
"radioValue": true,
@@ -317,7 +317,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"opacity": true,
"optDisabled": true,
"optSelected": true,
- "ownLast": false,
+ "ownFirst": true,
"pixelMarginRight": true,
"pixelPosition": true,
"radioValue": true,
@@ -349,7 +349,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"opacity": true,
"optDisabled": true,
"optSelected": true,
- "ownLast": false,
+ "ownFirst": true,
"pixelMarginRight": true,
"pixelPosition": false,
"radioValue": true,
@@ -381,7 +381,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"opacity": true,
"optDisabled": true,
"optSelected": true,
- "ownLast": false,
+ "ownFirst": true,
"pixelMarginRight": true,
"pixelPosition": false,
"radioValue": true,
@@ -413,7 +413,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"opacity": true,
"optDisabled": true,
"optSelected": true,
- "ownLast": false,
+ "ownFirst": true,
"pixelMarginRight": false,
"pixelPosition": false,
"radioValue": true,
@@ -445,7 +445,7 @@ testIframeWithCallback( "Check CSP (https://developer.mozilla.org/en-US/docs/Sec
"opacity": true,
"optDisabled": false,
"optSelected": true,
- "ownLast": false,
+ "ownFirst": true,
"pixelMarginRight": true,
"pixelPosition": false,
"radioValue": true,