/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma_2/Expressions/ |
H A D | StrictEquality-001.js | 29 // 3. If x is NaN, return false 30 StrictEquality( NaN, NaN, false ); 31 StrictEquality( NaN, 0, false ); 33 // 4. If y is NaN, return false. 34 StrictEquality( 0, NaN, false );
|
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Math/ |
H A D | 15.8.2.11.js | 27 - if x is NaN or y is NaN return NaN 56 array[item++] = new TestCase( SECTION, "Math.max(void 0, 1)", Number.NaN, Math.max( void 0, 1 ) ); 57 array[item++] = new TestCase( SECTION, "Math.max(void 0, void 0)", Number.NaN, Math.max( void 0, void 0 ) ); 64 array[item++] = new TestCase( SECTION, "Math.max(NaN, Infinity)", Number.NaN, Math.max(Number.NaN,Number.POSITIVE_INFINITY) ); 65 array[item++] = new TestCase( SECTION, "Math.max(NaN, 0)", Number.NaN, Mat [all...] |
H A D | 15.8.2.12.js | 27 - if x is NaN or y is NaN return NaN 57 array[item++] = new TestCase( SECTION, "Math.min(void 0, 1)", Number.NaN, Math.min( void 0, 1 ) ); 58 array[item++] = new TestCase( SECTION, "Math.min(void 0, void 0)", Number.NaN, Math.min( void 0, void 0 ) ); 65 array[item++] = new TestCase( SECTION, "Math.min(NaN,0)", Number.NaN, Math.min(Number.NaN,0) ); 66 array[item++] = new TestCase( SECTION, "Math.min(NaN,1)", Number.NaN, Mat [all...] |
H A D | 15.8.2.16.js | 47 array[item++] = new TestCase( SECTION, "Math.sin()", Number.NaN, Math.sin() ); 49 array[item++] = new TestCase( SECTION, "Math.sin(void 0)", Number.NaN, Math.sin(void 0) ); 53 array[item++] = new TestCase( SECTION, "Math.sin(NaN)", Number.NaN, Math.sin(Number.NaN) ); 56 array[item++] = new TestCase( SECTION, "Math.sin(Infinity)", Number.NaN, Math.sin(Number.POSITIVE_INFINITY)); 57 array[item++] = new TestCase( SECTION, "Math.sin(-Infinity)", Number.NaN, Math.sin(Number.NEGATIVE_INFINITY));
|
H A D | 15.8.2.10.js | 28 - if arg is NaN result is NaN 29 - if arg is <0 result is NaN 54 array[item++] = new TestCase( SECTION, "Math.log()", Number.NaN, Math.log() ); 55 array[item++] = new TestCase( SECTION, "Math.log(void 0)", Number.NaN, Math.log(void 0) ); 63 array[item++] = new TestCase( SECTION, "Math.log(NaN)", Number.NaN, Math.log(Number.NaN) ); 64 array[item++] = new TestCase( SECTION, "Math.log(-0.0000001)", Number.NaN, Math.log(-0.000001) ); 65 array[item++] = new TestCase( SECTION, "Math.log(-1)", Number.NaN, Mat [all...] |
H A D | 15.8.2.2.js | 28 - if x is NaN, return NaN 29 - if x > 1, the result is NaN 30 - if x < -1, the result is NaN 51 array[item++] = new TestCase( SECTION, "Math.acos(void 0)", Number.NaN, Math.acos(void 0) ); 52 array[item++] = new TestCase( SECTION, "Math.acos()", Number.NaN, Math.acos() ); 54 array[item++] = new TestCase( SECTION, "Math.acos(NaN)", Number.NaN, Math.acos(Number.NaN) ); 56 array[item++] = new TestCase( SECTION, "Math.acos(a string)", Number.NaN, Mat [all...] |
H A D | 15.8.2.3.js | 28 - if x is NaN, the result is NaN 29 - if x > 1, the result is NaN 30 - if x < -1, the result is NaN 51 array[item++] = new TestCase( SECTION, "Math.asin()", Number.NaN, Math.asin() ); 52 array[item++] = new TestCase( SECTION, "Math.asin(void 0)", Number.NaN, Math.asin(void 0) ); 54 array[item++] = new TestCase( SECTION, "Math.asin(NaN)", Number.NaN, Math.asin(Number.NaN) ); 56 array[item++] = new TestCase( SECTION, "Math.asin('string')", Number.NaN, Mat [all...] |
H A D | 15.8.2.13.js | 48 array[item++] = new TestCase( SECTION, "Math.pow()", Number.NaN, Math.pow() ); 50 array[item++] = new TestCase( SECTION, "Math.pow(void 0, void 0)", Number.NaN, Math.pow(void 0, void 0)); 55 array[item++] = new TestCase( SECTION, "Math.pow(1,NaN)", Number.NaN, Math.pow(1,Number.NaN) ); 56 array[item++] = new TestCase( SECTION, "Math.pow(0,NaN)", Number.NaN, Math.pow(0,Number.NaN) ); 57 array[item++] = new TestCase( SECTION, "Math.pow(NaN,0)", 1, Math.pow(Number.NaN, [all...] |
H A D | 15.8.2.18.js | 28 - if x is NaN result is NaN 31 - if x is Infinity or -Infinity result is NaN 53 array[item++] = new TestCase( SECTION, "Math.tan()", Number.NaN, Math.tan() ); 54 array[item++] = new TestCase( SECTION, "Math.tan(void 0)", Number.NaN, Math.tan(void 0)); 58 array[item++] = new TestCase( SECTION, "Math.tan(NaN)", Number.NaN, Math.tan(Number.NaN) ); 61 array[item++] = new TestCase( SECTION, "Math.tan(Infinity)", Number.NaN, Math.tan(Number.POSITIVE_INFINITY)); 62 array[item++] = new TestCase( SECTION, "Math.tan(-Infinity)", Number.NaN, Mat [all...] |
H A D | 15.8.2.8.js | 28 - if x is NaN return NaN 54 array[item++] = new TestCase( SECTION, "Math.exp()", Number.NaN, Math.exp() ); 56 array[item++] = new TestCase( SECTION, "Math.exp(void 0)", Number.NaN, Math.exp(void 0) ); 64 array[item++] = new TestCase( SECTION, "Math.exp(NaN)", Number.NaN, Math.exp(Number.NaN) );
|
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Expressions/ |
H A D | 11.13.2-3.js | 58 // If either operand is NaN, result is NaN 60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 %= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 %= VAR2") ); 61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 %= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 %= VAR2; VAR1") ); 62 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 %= VAR2", Number.NaN, eva [all...] |
H A D | 11.5.3.js | 43 If either operand is NaN, the result is NaN. 45 If the dividend is an infinity, or the divisor is a zero, or both, the result is NaN. 48 In the remaining cases, where neither an infinity, nor a zero, nor NaN is involved, the floating-point remainder r 82 // if either operand is NaN, the result is NaN. 84 array[item++] = new TestCase( SECTION, "Number.NaN % Number.NaN", Number.NaN, Number.NaN [all...] |
H A D | 11.5.1.js | 36 If either operand is NaN, the result is NaN. 39 Multiplication of an infinity by a zero results in NaN. 44 In the remaining cases, where neither an infinity or NaN is involved, the 80 array[item++] = new TestCase( SECTION, "Number.NaN * Number.NaN", Number.NaN, Number.NaN * Number.NaN ); 81 array[item++] = new TestCase( SECTION, "Number.NaN * [all...] |
H A D | 11.13.2-2.js | 58 // NaN cases 60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 /= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 /= VAR2") ); 61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 /= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 /= VAR2; VAR1") ); 62 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 /= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR [all...] |
H A D | 11.5.2.js | 33 If either operand is NaN, the result is NaN. 36 Division of an infinity by an infinity results in NaN. 41 Division of a zero by a zero results in NaN; division of zero by any other finite value results in zero, with the sign 45 In the remaining cases, where neither an infinity, nor a zero, nor NaN is involved, the quotient is computed and 80 // if either operand is NaN, the result is NaN. 82 array[item++] = new TestCase( SECTION, "Number.NaN / Number.NaN", Number.NaN, Numbe [all...] |
H A D | 11.6.3.js | 36 If either operand is NaN, the result is NaN. 37 The sum of two infinities of opposite sign is NaN. 46 In the remaining cases, where neither an infinity, nor a zero, nor NaN is 82 array[item++] = new TestCase( SECTION, "Number.NaN + 1", Number.NaN, Number.NaN + 1 ); 83 array[item++] = new TestCase( SECTION, "1 + Number.NaN", Number.NaN, 1 + Number.NaN ); [all...] |
H A D | 11.13.2-1.js | 58 // NaN cases 60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 *= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 *= VAR2") ); 61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 *= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 *= VAR2; VAR1") ); 71 array[item++] = new TestCase( SECTION, "VAR1 = 0; VAR2= Infinity; VAR1 *= VAR2", Number.NaN, eval("VAR1 = 0; VAR2 = Number.POSITIVE_INFINITY; VAR1 *= VAR2; VAR1") ); 72 array[item++] = new TestCase( SECTION, "VAR1 = -0; VAR2= Infinity; VAR1 *= VAR2", Number.NaN, eval("VAR1 = -0; VAR2 = Number.POSITIVE_INFINITY; VAR1 *= VAR2; VAR1") ); 73 array[item++] = new TestCase( SECTION, "VAR1 = -0; VAR2= -Infinity; VAR1 *= VAR2", Number.NaN, eva [all...] |
H A D | 11.13.2-4.js | 58 // If either operand is NaN, result is NaN 60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 += VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 += VAR2") ); 61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 += VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 += VAR2; VAR1") ); 62 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 += VAR2", Number.NaN, eva [all...] |
H A D | 11.13.2-5.js | 58 // If either operand is NaN, result is NaN 60 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 -= VAR2", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 -= VAR2") ); 61 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=1; VAR1 -= VAR2; VAR1", Number.NaN, eval("VAR1 = Number.NaN; VAR2=1; VAR1 -= VAR2; VAR1") ); 62 array[item++] = new TestCase( SECTION, "VAR1 = NaN; VAR2=0; VAR1 -= VAR2", Number.NaN, eva [all...] |
H A D | 11.2.1-2.js | 79 PROPERTY[p++] = new Property( "\"hi\"", "hi", "hi", NaN ); 80 PROPERTY[p++] = new Property( NaN, NaN, "NaN", NaN );
|
H A D | 11.2.1-5.js | 79 PROPERTY[p++] = new Property( new String("hi"), "hi", "hi", NaN ); 80 PROPERTY[p++] = new Property( new Number(NaN), NaN, "NaN", NaN );
|
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/GlobalObject/ |
H A D | 15.1.1.1.js | 24 ECMA Section: 15.1.1.1 NaN 26 Description: The initial value of NaN is NaN. 35 var TITLE = "NaN"; 47 array[array.length] = new TestCase( SECTION, "NaN", Number.NaN, NaN ); 48 array[array.length] = new TestCase( SECTION, "this.NaN", Number.NaN, this.NaN ); [all...] |
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/String/ |
H A D | 15.5.4.5-5.js | 28 at that position, the number is NaN. 37 Result(3), return NaN. 77 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(4)", Number.NaN, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(4)") ); 78 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(-1)", Number.NaN, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(-1)") ); 83 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(0)", Number.NaN, eval("x=new String();x.charCodeAt(0)") ); 84 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(1)", Number.NaN, eval("x=new String();x.charCodeAt(1)") ); 85 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(-1)", Number.NaN, eval("x=new String();x.charCodeAt(-1)") ); 87 array[item++] = new TestCase( SECTION, "x = new String(); x.charCodeAt(NaN)", Number.NaN, eval("x=new String();x.charCodeAt(Number.NaN)") ); [all...] |
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/js1_2/String/ |
H A D | charCodeAt.js | 44 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt(-2)", NaN, aString.charCodeAt(-2)); 45 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt(-1)", NaN, aString.charCodeAt(-1)); 50 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 4)", NaN, aString.charCodeAt( 4)); 51 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 5)", NaN, aString.charCodeAt( 5)); 52 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( Infinity)", NaN, aString.charCodeAt( Infinity)); 53 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt(-Infinity)", NaN, aString.charCodeAt(-Infinity));
|
/macosx-10.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Date/ |
H A D | 15.9.4.3.js | 64 d.year = Number.NaN; 65 d.month = Number.NaN; 66 d.date = Number.NaN; 67 d.hours = Number.NaN; 68 d.minutes = Number.NaN; 69 d.seconds = Number.NaN; 70 d.ms = Number.NaN; 71 d.value = Number.NaN; 72 d.time = Number.NaN; 73 d.day =Number.NaN; [all...] |