/external/webkit/JavaScriptCore/tests/mozilla/ecma/Statements/ |
12.5-2.js | 24 ECMA Section: The if statement 43 var SECTION = "12.5-2"; 48 writeHeaderToLog( SECTION + " "+ TITLE); 52 testcases[tc++] = new TestCase( SECTION, 57 testcases[tc++] = new TestCase( SECTION, 62 testcases[tc++] = new TestCase( SECTION, 67 testcases[tc++] = new TestCase( SECTION, 72 testcases[tc++] = new TestCase( SECTION, 77 testcases[tc++] = new TestCase( SECTION,
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/TypeConversion/ |
9.9-1.js | 24 ECMA Section: 9.9 Type Conversion: ToObject 42 var SECTION = "9.9-1"; 44 writeHeaderToLog( SECTION + " Type Conversion: ToObject" ); 55 array[item++] = new TestCase( SECTION, "Object(true).valueOf()", true, (Object(true)).valueOf() ); 56 array[item++] = new TestCase( SECTION, "typeof Object(true)", "object", typeof Object(true) ); 57 array[item++] = new TestCase( SECTION, "(Object(true)).__proto__", Boolean.prototype, (Object(true)).__proto__ ); 59 array[item++] = new TestCase( SECTION, "Object(false).valueOf()", false, (Object(false)).valueOf() ); 60 array[item++] = new TestCase( SECTION, "typeof Object(false)", "object", typeof Object(false) ); 61 array[item++] = new TestCase( SECTION, "(Object(true)).__proto__", Boolean.prototype, (Object(true)).__proto__ ); 63 array[item++] = new TestCase( SECTION, "Object(0).valueOf()", 0, (Object(0)).valueOf() ) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/js1_2/Array/ |
general1.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; 36 writeHeaderToLog( SECTION + " "+ TITLE); 47 testcases[count++] = new TestCase( SECTION, "array1.pop()", array1.pop(),'cat'); 50 testcases[count++] = new TestCase( SECTION, "array1.shift()", array1.shift(),123); 53 testcases[count++] = new TestCase( SECTION, "state of array", String([96,"dog",-99,"mouse"]), String(array1)); 54 testcases[count++] = new TestCase( SECTION, "array1.length", array1.length,4); 58 testcases[count++] = new TestCase( SECTION, "array1.shift()", array1.shift(),"mouse"); 59 testcases[count++] = new TestCase( SECTION, "array1.shift()", "undefined", String(array1.shift()));
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
RegExp_rightContext_as_array.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; 36 writeHeaderToLog( SECTION + " "+ TITLE); 43 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/123/); RegExp['$\'']", 48 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/456/); RegExp['$\'']", 53 testcases[count++] = new TestCase ( SECTION, "'abc123xyz'.match(/abc123xyz/); RegExp['$\'']", 58 testcases[count++] = new TestCase ( SECTION, "'xxxx'.match(/$/); RegExp['$\'']", 63 testcases[count++] = new TestCase ( SECTION, "'test'.match(/^/); RegExp['$\'']", 68 testcases[count++] = new TestCase ( SECTION, "'xxxx'.match(new RegExp('$')); RegExp['$\'']", 73 testcases[count++] = new TestCase ( SECTION, "'test'.match(new RegExp('^')); RegExp['$\'']",
|
ignoreCase.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; 36 writeHeaderToLog( SECTION + " "+ TITLE); 42 testcases[count++] = new TestCase ( SECTION, "/xyz/i.ignoreCase", 46 testcases[count++] = new TestCase ( SECTION, "/xyz/.ignoreCase", 50 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/[a-z]+/ig)", 54 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/[a-z]+/i)", 58 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/([a-z]+)/ig)", 62 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/([a-z]+)/i)", 66 testcases[count++] = new TestCase ( SECTION, "'ABC def ghi'.match(/[a-z]+/)", 70 testcases[count++] = new TestCase ( SECTION, "(new RegExp('xyz','i')).ignoreCase" [all...] |
global.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; 36 writeHeaderToLog( SECTION + " "+ TITLE); 42 testcases[count++] = new TestCase ( SECTION, "/xyz/g.global", 46 testcases[count++] = new TestCase ( SECTION, "/xyz/.global", 50 testcases[count++] = new TestCase ( SECTION, "'123 456 789'.match(/\\d+/g)", 54 testcases[count++] = new TestCase ( SECTION, "'123 456 789'.match(/(\\d+)/g)", 58 testcases[count++] = new TestCase ( SECTION, "'123 456 789'.match(/\\d+/)", 62 testcases[count++] = new TestCase ( SECTION, "(new RegExp('[a-z]','g')).global", 66 testcases[count++] = new TestCase ( SECTION, "(new RegExp('[a-z]','i')).global", 70 testcases[count++] = new TestCase ( SECTION, "'123 456 789'.match(new RegExp('\\\\d+','g'))" [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Array/ |
15.4.1.js | 24 ECMA Section: 15.4.1 The Array Constructor Called as a Function 36 var SECTION = "15.4.1"; 41 writeHeaderToLog( SECTION + " "+ TITLE); 50 array[item++] = new TestCase( SECTION, 55 array[item++] = new TestCase( SECTION, 60 array[item++] = new TestCase( SECTION, 65 array[item++] = new TestCase( SECTION, 70 array[item++] = new TestCase( SECTION, 76 array[item++] = new TestCase( SECTION, 81 array[item++] = new TestCase( SECTION, [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.8.js | 24 ECMA Section: 15.8.2.8 Math.exp(x) 38 var SECTION = "15.8.2.8"; 43 writeHeaderToLog( SECTION + " "+ TITLE); 52 array[item++] = new TestCase( SECTION, "Math.exp.length", 1, Math.exp.length ); 54 array[item++] = new TestCase( SECTION, "Math.exp()", Number.NaN, Math.exp() ); 55 array[item++] = new TestCase( SECTION, "Math.exp(null)", 1, Math.exp(null) ); 56 array[item++] = new TestCase( SECTION, "Math.exp(void 0)", Number.NaN, Math.exp(void 0) ); 57 array[item++] = new TestCase( SECTION, "Math.exp(1)", Math.E, Math.exp(1) ); 58 array[item++] = new TestCase( SECTION, "Math.exp(true)", Math.E, Math.exp(true) ); 59 array[item++] = new TestCase( SECTION, "Math.exp(false)", 1, Math.exp(false) ) [all...] |
15.8.2.3.js | 24 ECMA Section: 15.8.2.3 asin( x ) 37 var SECTION = "15.8.2.3"; 42 writeHeaderToLog( SECTION + " "+ TITLE); 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) ); 53 array[item++] = new TestCase( SECTION, "Math.asin(null)", 0, Math.asin(null) ); 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, Math.asin("string") ); 57 array[item++] = new TestCase( SECTION, "Math.asin('0')", 0, Math.asin("0") ); 58 array[item++] = new TestCase( SECTION, "Math.asin('1')", Math.PI/2, Math.asin("1") ) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Number/ |
15.7.1.js | 24 ECMA Section: 15.7.1 The Number Constructor Called as a Function 41 var SECTION = "15.7.1"; 46 writeHeaderToLog( SECTION + " "+ TITLE); 56 array[item++] = new TestCase(SECTION, "Number()", 0, Number() ); 57 array[item++] = new TestCase(SECTION, "Number(void 0)", Number.NaN, Number(void 0) ); 58 array[item++] = new TestCase(SECTION, "Number(null)", 0, Number(null) ); 59 array[item++] = new TestCase(SECTION, "Number()", 0, Number() ); 60 array[item++] = new TestCase(SECTION, "Number(new Number())", 0, Number( new Number() ) ); 61 array[item++] = new TestCase(SECTION, "Number(0)", 0, Number(0) ); 62 array[item++] = new TestCase(SECTION, "Number(1)", 1, Number(1) ) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Exceptions/ |
lexical-041.js | 4 ECMA Section: 7.5 Identifiers 13 var SECTION = "lexical-041"; 18 writeHeaderToLog( SECTION + " "+ TITLE); 20 writeHeaderToLog( SECTION + " "+ TITLE); 37 SECTION,
|
lexical-042.js | 4 ECMA Section: 7.5 Identifiers 13 var SECTION = "lexical-042"; 18 writeHeaderToLog( SECTION + " "+ TITLE); 21 writeHeaderToLog( SECTION + " "+ TITLE); 38 SECTION,
|
expression-001.js | 4 ECMA Section: 11.12 18 var SECTION = "expression-001"; 22 writeHeaderToLog( SECTION + " " + TITLE ); 40 SECTION,
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_2/ |
template.js | 29 var SECTION = ""; // if ECMA test, provide section number 31 var TITLE = ""; // Provide ECMA section title or description
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_2/String/ |
concat.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; 36 writeHeaderToLog( SECTION + " "+ TITLE); 45 testcases[count++] = new TestCase( SECTION, "aString.concat(' more')", "test string more", aString.concat(' more').toString()); 46 testcases[count++] = new TestCase( SECTION, "aString.concat(bString)", "test string another ", aString.concat(bString).toString()); 47 testcases[count++] = new TestCase( SECTION, "aString ", "test string", aString.toString()); 48 testcases[count++] = new TestCase( SECTION, "bString ", " another ", bString.toString()); 49 testcases[count++] = new TestCase( SECTION, "aString.concat(345) ", "test string345", aString.concat(345).toString()); 50 testcases[count++] = new TestCase( SECTION, "aString.concat(true) ", "test stringtrue", aString.concat(true).toString()); 51 testcases[count++] = new TestCase( SECTION, "aString.concat(null) ", "test stringnull", aString.concat(null).toString()); 59 //testcases[count++] = new TestCase( SECTION, "aString.concat([]) ", "test string[]", aString.concat([]).toString()) [all...] |
charCodeAt.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; 36 writeHeaderToLog( SECTION + " "+ TITLE); 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)); 46 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 0)", 116, aString.charCodeAt( 0)); 47 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 1)", 69, aString.charCodeAt( 1)); 48 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 2)", 115, aString.charCodeAt( 2)); 49 testcases[count++] = new TestCase( SECTION, "aString.charCodeAt( 3)", 53, aString.charCodeAt( 3)); 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)) [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/ |
template.js | 29 var SECTION = ""; // provide a document reference (ie, ECMA section) 31 var TITLE = ""; // Provide ECMA section title or a description
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.2.2-6-n.js | 24 ECMA Section: 11.2.2. The new operator 52 (section 0). 64 var SECTION = "11.2.2-6-n.js"; 69 writeHeaderToLog( SECTION + " "+ TITLE); 73 testcases[tc++] = new TestCase( SECTION,
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Statements/ |
if-001.js | 3 * ECMA Section: 12 var SECTION = "for-001"; 18 writeHeaderToLog( SECTION + " "+ TITLE); 32 SECTION,
|
while-001.js | 3 * ECMA Section: 12 var SECTION = "while-001"; 17 writeHeaderToLog( SECTION + " "+ TITLE); 34 SECTION,
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_3/Script/ |
in-001.js | 24 Section: 33 var SECTION = "in-001"; 39 writeHeaderToLog( SECTION + " "+ TITLE); 47 SECTION,
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_4/Eval/ |
eval-001.js | 46 * see the short, section-less Chapter 16. It does say an implementation that 51 var SECTION = "eval-001.js"; 57 writeHeaderToLog( SECTION + " "+ TITLE); 69 SECTION,
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_4/Regress/ |
date-001-n.js | 31 var SECTION = "date-001-n.js"; 38 writeHeaderToLog( SECTION + " "+ TITLE); 48 SECTION,
|
function-004-n.js | 31 var SECTION = "funtion-004-n.js"; 38 writeHeaderToLog( SECTION + " "+ TITLE); 46 SECTION,
|
toString-001-n.js | 31 var SECTION = "toString-001.js"; 38 writeHeaderToLog( SECTION + " "+ TITLE); 48 SECTION,
|