/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
H A D | 15.5.4.js | 31 var SECTION = "15.5.4"; variable 36 writeHeaderToLog( SECTION + " "+ TITLE); 45 array[item++] = new TestCase( SECTION, 50 array[item++] = new TestCase( SECTION, "typeof String.prototype", "object", typeof String.prototype ); 51 array[item++] = new TestCase( SECTION, "String.prototype.valueOf()", "", String.prototype.valueOf() ); 52 array[item++] = new TestCase( SECTION, "String.prototype +''", "", String.prototype + '' ); 53 array[item++] = new TestCase( SECTION, "String.prototype.length", 0, String.prototype.length ); 54 // array[item++] = new TestCase( SECTION, "String.prototype.__proto__", Object.prototype, String.prototype.__proto__ );
|
H A D | 15.5.5.1.js | 37 var SECTION = "15.5.5.1"; variable 42 writeHeaderToLog( SECTION + " "+ TITLE); 51 array[item++] = new TestCase( SECTION, 56 array[item++] = new TestCase( SECTION, 61 array[item++] = new TestCase( SECTION, 66 array[item++] = new TestCase( SECTION, 71 array[item++] = new TestCase( SECTION,
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/instanceof/ |
H A D | instanceof-002.js | 11 var SECTION = ""; variable 16 writeHeaderToLog( SECTION + " "+ TITLE); 23 testcases[tc++] = new TestCase( SECTION, 28 testcases[tc++] = new TestCase( SECTION, 33 testcases[tc++] = new TestCase( SECTION, 38 testcases[tc++] = new TestCase( SECTION, 43 testcases[tc++] = new TestCase( SECTION,
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/function/ |
H A D | String.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; variable 36 writeHeaderToLog( SECTION + " "+ TITLE); 42 testcases[count++] = new TestCase( SECTION, "String(true) ", 44 testcases[count++] = new TestCase( SECTION, "String(false) ", 46 testcases[count++] = new TestCase( SECTION, "String(-124) ", 48 testcases[count++] = new TestCase( SECTION, "String(1.23) ", 63 //testcases[count++] = new TestCase( SECTION, "String({p:1}) ", 65 testcases[count++] = new TestCase( SECTION, "String(null) ", 80 //testcases[count++] = new TestCase( SECTION, "String([1,2,3]) ",
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
H A D | backslash.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; variable 36 writeHeaderToLog( SECTION + " "+ TITLE); 42 testcases[count++] = new TestCase ( SECTION, "'abcde'.match(new RegExp('\e'))", 46 testcases[count++] = new TestCase ( SECTION, "'ab\\cde'.match(new RegExp('\\\\'))", 50 testcases[count++] = new TestCase ( SECTION, "'ab\\cde'.match(/\\\\/)", 54 testcases[count++] = new TestCase ( SECTION, 60 testcases[count++] = new TestCase ( SECTION,
|
H A D | exec.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; variable 36 writeHeaderToLog( SECTION + " "+ TITLE); 41 testcases[count++] = new TestCase ( SECTION, 45 testcases[count++] = new TestCase ( SECTION, 50 testcases[count++] = new TestCase ( SECTION, 54 testcases[count++] = new TestCase ( SECTION, 59 testcases[count++] = new TestCase ( SECTION,
|
H A D | compile.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; variable 36 writeHeaderToLog( SECTION + " "+ TITLE); 45 testcases[count++] = new TestCase ( SECTION, 49 testcases[count++] = new TestCase ( SECTION, 53 testcases[count++] = new TestCase ( SECTION, 57 testcases[count++] = new TestCase ( SECTION, 63 testcases[count++] = new TestCase ( SECTION, 67 testcases[count++] = new TestCase ( SECTION, 71 testcases[count++] = new TestCase ( SECTION, 75 testcases[count++] = new TestCase ( SECTION, [all...] |
H A D | flags.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; variable 36 writeHeaderToLog( SECTION + " "+ TITLE); 42 testcases[count++] = new TestCase ( SECTION, "'aBCdEfGHijKLmno'.match(/fghijk/i)", 45 testcases[count++] = new TestCase ( SECTION, "'aBCdEfGHijKLmno'.match(new RegExp('fghijk','i'))", 49 testcases[count++] = new TestCase ( SECTION, "'xa xb xc xd xe xf'.match(/x./g)", 52 testcases[count++] = new TestCase ( SECTION, "'xa xb xc xd xe xf'.match(new RegExp('x.','g'))", 56 testcases[count++] = new TestCase ( SECTION, "'xa Xb xc xd Xe xf'.match(/x./gi)", 59 testcases[count++] = new TestCase ( SECTION, "'xa Xb xc xd Xe xf'.match(new RegExp('x.','gi'))", 62 testcases[count++] = new TestCase ( SECTION, "'xa Xb xc xd Xe xf'.match(/x./ig)", 65 testcases[count++] = new TestCase ( SECTION, "'x [all...] |
H A D | hexadecimal.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; variable 36 writeHeaderToLog( SECTION + " "+ TITLE); 46 testcases[count++] = new TestCase ( SECTION, 54 testcases[count++] = new TestCase ( SECTION, 62 testcases[count++] = new TestCase ( SECTION, 70 testcases[count++] = new TestCase ( SECTION, 78 testcases[count++] = new TestCase ( SECTION, 82 testcases[count++] = new TestCase ( SECTION, 86 testcases[count++] = new TestCase ( SECTION, 90 testcases[count++] = new TestCase ( SECTION, [all...] |
H A D | octal.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; variable 36 writeHeaderToLog( SECTION + " "+ TITLE); 46 testcases[count++] = new TestCase ( SECTION, 54 testcases[count++] = new TestCase ( SECTION, 62 testcases[count++] = new TestCase ( SECTION, 70 testcases[count++] = new TestCase ( SECTION, 78 testcases[count++] = new TestCase ( SECTION, 82 testcases[count++] = new TestCase ( SECTION, 86 testcases[count++] = new TestCase ( SECTION, 90 testcases[count++] = new TestCase ( SECTION, [all...] |
H A D | plus.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; variable 36 writeHeaderToLog( SECTION + " "+ TITLE); 42 testcases[count++] = new TestCase ( SECTION, "'abcdddddefg'.match(new RegExp('d+'))", 46 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('o+'))", 50 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('d+'))", 54 testcases[count++] = new TestCase ( SECTION, "'abbbbbbbc'.match(new RegExp('(b+)(b+)(b+)'))", 58 testcases[count++] = new TestCase ( SECTION, "'abbbbbbbc'.match(new RegExp('(b+)(b*)'))", 62 testcases[count++] = new TestCase ( SECTION, "'abbbbbbbc'.match(new RegExp('b*b+'))", 66 testcases[count++] = new TestCase ( SECTION, "'abbbbbbbc'.match(/(b+)(b*)/)", 70 testcases[count++] = new TestCase ( SECTION, "'abbbbbbb [all...] |
H A D | simple_form.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; variable 36 writeHeaderToLog( SECTION + " "+ TITLE); 41 testcases[count++] = new TestCase ( SECTION, 45 testcases[count++] = new TestCase ( SECTION, 49 testcases[count++] = new TestCase ( SECTION, 54 testcases[count++] = new TestCase ( SECTION, 59 testcases[count++] = new TestCase ( SECTION, 63 testcases[count++] = new TestCase ( SECTION, 68 testcases[count++] = new TestCase ( SECTION, 72 testcases[count++] = new TestCase ( SECTION, [all...] |
H A D | source.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; variable 36 writeHeaderToLog( SECTION + " "+ TITLE); 42 testcases[count++] = new TestCase ( SECTION, "/xyz/g.source", 46 testcases[count++] = new TestCase ( SECTION, "/xyz/.source", 50 testcases[count++] = new TestCase ( SECTION, "/abc\\\\def/.source", 54 testcases[count++] = new TestCase ( SECTION, "/abc[\\b]def/.source", 58 testcases[count++] = new TestCase ( SECTION, "(new RegExp('xyz')).source", 62 testcases[count++] = new TestCase ( SECTION, "(new RegExp('xyz','g')).source", 66 testcases[count++] = new TestCase ( SECTION, "(new RegExp('abc\\\\\\\\def')).source", 70 testcases[count++] = new TestCase ( SECTION, "(ne [all...] |
H A D | string_search.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; variable 36 writeHeaderToLog( SECTION + " "+ TITLE); 42 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.search(/d/)", 46 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.search(/x/)", 50 testcases[count++] = new TestCase ( SECTION, "'abcdefg123456hijklmn'.search(/\d+/)", 54 testcases[count++] = new TestCase ( SECTION, "'abcdefg123456hijklmn'.search(new RegExp())", 58 testcases[count++] = new TestCase ( SECTION, "'abc'.search(new RegExp('$'))", 62 testcases[count++] = new TestCase ( SECTION, "'abc'.search(new RegExp('^'))", 66 testcases[count++] = new TestCase ( SECTION, "'abc1'.search(/.\d/)", 70 testcases[count++] = new TestCase ( SECTION, "'abc [all...] |
H A D | test.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; variable 36 writeHeaderToLog( SECTION + " "+ TITLE); 41 testcases[count++] = new TestCase ( SECTION, 45 testcases[count++] = new TestCase ( SECTION, 49 testcases[count++] = new TestCase ( SECTION, 53 testcases[count++] = new TestCase ( SECTION, 57 testcases[count++] = new TestCase ( SECTION, 61 testcases[count++] = new TestCase ( SECTION, 65 testcases[count++] = new TestCase ( SECTION, 69 testcases[count++] = new TestCase ( SECTION, [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/ |
H A D | 15.4.5.1-1.js | 58 var SECTION = "15.4.5.1-1"; variable 63 writeHeaderToLog( SECTION + " "+ TITLE); 75 array[item++] = new TestCase( SECTION, 81 array[item++] = new TestCase( SECTION, 86 array[item++] = new TestCase( SECTION, 95 array[item++] = new TestCase( SECTION, 100 array[item++] = new TestCase( SECTION, 117 array[item++] = new TestCase( SECTION, 122 array[item++] = new TestCase( SECTION, 130 array[item++] = new TestCase( SECTION, [all...] |
H A D | 15.4.2.1-3.js | 56 var SECTION = "15.4.2.1-3"; variable 61 writeHeaderToLog( SECTION + " "+ TITLE); 83 array[item] = new TestCase( SECTION, "TEST_ARRAY["+item+"]", item, TEST_ARRAY[item] ); 86 array[item++] = new TestCase( SECTION, "new Array( ["+TEST_LENGTH+" arguments] ) +''", ARGUMENTS, TEST_ARRAY +"" ); 87 array[item++] = new TestCase( SECTION, "TEST_ARRAY.toString", Array.prototype.toString, TEST_ARRAY.toString ); 88 array[item++] = new TestCase( SECTION, "TEST_ARRAY.join", Array.prototype.join, TEST_ARRAY.join ); 89 array[item++] = new TestCase( SECTION, "TEST_ARRAY.sort", Array.prototype.sort, TEST_ARRAY.sort ); 90 array[item++] = new TestCase( SECTION, "TEST_ARRAY.reverse", Array.prototype.reverse, TEST_ARRAY.reverse ); 91 array[item++] = new TestCase( SECTION, "TEST_ARRAY.length", TEST_LENGTH, TEST_ARRAY.length ); 92 array[item++] = new TestCase( SECTION, [all...] |
H A D | 15.4.2.2-2.js | 52 var SECTION = "15.4.2.2-2"; variable 57 writeHeaderToLog( SECTION + " "+ TITLE); 66 array[item++] = new TestCase( SECTION, "(new Array(new Number(1073741823))).length", 1, (new Array(new Number(1073741823))).length ); 67 array[item++] = new TestCase( SECTION, "(new Array(new Number(0))).length", 1, (new Array(new Number(0))).length ); 68 array[item++] = new TestCase( SECTION, "(new Array(new Number(1000))).length", 1, (new Array(new Number(1000))).length ); 69 array[item++] = new TestCase( SECTION, "(new Array('mozilla, larryzilla, curlyzilla')).length", 1, (new Array('mozilla, larryzilla, curlyzilla')).length ); 70 array[item++] = new TestCase( SECTION, "(new Array(true)).length", 1, (new Array(true)).length ); 71 array[item++] = new TestCase( SECTION, "(new Array(false)).length", 1, (new Array(false)).length); 72 array[item++] = new TestCase( SECTION, "(new Array(new Boolean(true)).length", 1, (new Array(new Boolean(true))).length ); 73 array[item++] = new TestCase( SECTION, "(ne [all...] |
H A D | 15.4.2.3.js | 35 var SECTION = "15.4.2.3"; variable 40 writeHeaderToLog( SECTION + " "+ TITLE); 48 array[item++] = new TestCase( SECTION, "new Array() +''", "", (new Array()) +"" ); 49 array[item++] = new TestCase( SECTION, "typeof new Array()", "object", (typeof new Array()) ); 50 array[item++] = new TestCase( SECTION, 55 array[item++] = new TestCase( SECTION, "(new Array()).length", 0, (new Array()).length ); 56 array[item++] = new TestCase( SECTION, "(new Array()).toString == Array.prototype.toString", true, (new Array()).toString == Array.prototype.toString ); 57 array[item++] = new TestCase( SECTION, "(new Array()).join == Array.prototype.join", true, (new Array()).join == Array.prototype.join ); 58 array[item++] = new TestCase( SECTION, "(new Array()).reverse == Array.prototype.reverse", true, (new Array()).reverse == Array.prototype.reverse ); 59 array[item++] = new TestCase( SECTION, "(ne [all...] |
H A D | 15.4.4.2.js | 34 var SECTION = "15.4.4.2"; variable 39 writeHeaderToLog( SECTION + " "+ TITLE); 48 array[item++] = new TestCase( SECTION, "Array.prototype.toString.length", 0, Array.prototype.toString.length ); 50 array[item++] = new TestCase( SECTION, "(new Array()).toString()", "", (new Array()).toString() ); 51 array[item++] = new TestCase( SECTION, "(new Array(2)).toString()", ",", (new Array(2)).toString() ); 52 array[item++] = new TestCase( SECTION, "(new Array(0,1)).toString()", "0,1", (new Array(0,1)).toString() ); 53 array[item++] = new TestCase( SECTION, "(new Array( Number.NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY)).toString()", "NaN,Infinity,-Infinity", (new Array( Number.NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY)).toString() ); 55 array[item++] = new TestCase( SECTION, "(new Array( Boolean(1), Boolean(0))).toString()", "true,false", (new Array(Boolean(1),Boolean(0))).toString() ); 56 array[item++] = new TestCase( SECTION, "(new Array(void 0,null)).toString()", ",", (new Array(void 0,null)).toString() ); 68 array[item++] = new TestCase( SECTION, "MYAR [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/inherit/ |
H A D | proto_6.js | 41 var SECTION = "proto_6"; variable 46 writeHeaderToLog( SECTION + " "+ TITLE); 107 testcases[tc++] = new TestCase( SECTION, 112 testcases[tc++] = new TestCase( SECTION, 117 testcases[tc++] = new TestCase( SECTION, 122 testcases[tc++] = new TestCase( SECTION, 127 testcases[tc++] = new TestCase( SECTION, 132 testcases[tc++] = new TestCase( SECTION, 140 testcases[tc++] = new TestCase( SECTION, 145 testcases[tc++] = new TestCase( SECTION, [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
H A D | 15.3.5-1.js | 57 var SECTION = "15.3.5-1"; variable 62 writeHeaderToLog( SECTION + " "+TITLE); 93 array[item++] = new TestCase( SECTION, "MyFunc.length", 2000, MyFunc.length ); 94 array[item++] = new TestCase( SECTION, "var MY_OB = eval('MyFunc(s)')", 1, eval("var MY_OB = MyFunc("+s+"); MY_OB") ); 95 array[item++] = new TestCase( SECTION, "MyFunc.prototype.toString()", "[object Object]", MyFunc.prototype.toString() ); 96 array[item++] = new TestCase( SECTION, "typeof MyFunc.prototype", "object", typeof MyFunc.prototype ); 99 array[item++] = new TestCase( SECTION, "MyObject.length", 2000, MyObject.length ); 101 array[item++] = new TestCase( SECTION, "FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1.length", 3, eval("FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1.length") ); 102 array[item++] = new TestCase( SECTION, "FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1()", 3, eval("FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1()") ); 103 array[item++] = new TestCase( SECTION, "FUN [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/NativeObjects/ |
H A D | 15-1.js | 39 var SECTION = "15-1"; variable 44 writeHeaderToLog( SECTION + " "+ TITLE); 53 array[item++] = new TestCase( SECTION, "Function.prototype.__proto__", Object.prototype, Function.prototype.__proto__ ); 54 array[item++] = new TestCase( SECTION, "Array.prototype.__proto__", Object.prototype, Array.prototype.__proto__ ); 55 array[item++] = new TestCase( SECTION, "String.prototype.__proto__", Object.prototype, String.prototype.__proto__ ); 56 array[item++] = new TestCase( SECTION, "Boolean.prototype.__proto__", Object.prototype, Boolean.prototype.__proto__ ); 57 array[item++] = new TestCase( SECTION, "Number.prototype.__proto__", Object.prototype, Number.prototype.__proto__ ); 58 // array[item++] = new TestCase( SECTION, "Math.prototype.__proto__", Object.prototype, Math.prototype.__proto__ ); 59 array[item++] = new TestCase( SECTION, "Date.prototype.__proto__", Object.prototype, Date.prototype.__proto__ ); 60 array[item++] = new TestCase( SECTION, "TestCas [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/Array/ |
H A D | tostring_1.js | 33 var SECTION = "JS1_2"; variable 38 writeHeaderToLog( SECTION + " "+ TITLE); 67 testcases[tc++] = new TestCase ( SECTION, 74 testcases[tc++] = new TestCase ( SECTION, 80 testcases[tc++] = new TestCase( SECTION, 87 testcases[tc++] = new TestCase( SECTION, 94 testcases[tc++] = new TestCase( SECTION, 101 testcases[tc++] = new TestCase( SECTION, 113 testcases[tc++] = new TestCase ( SECTION, 119 testcases[tc++] = new TestCase( SECTION, [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/statements/ |
H A D | switch.js | 32 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; variable 39 writeHeaderToLog( SECTION + " "+ TITLE); 60 testcases[count++] = new TestCase ( SECTION, 'switch statement', 63 testcases[count++] = new TestCase ( SECTION, 'switch statement', 66 testcases[count++] = new TestCase ( SECTION, 'switch statement', 98 testcases[count++] = new TestCase ( SECTION, 'switch statement', 101 testcases[count++] = new TestCase ( SECTION, 'switch statement', 104 testcases[count++] = new TestCase ( SECTION, 'switch statement', 107 testcases[count++] = new TestCase ( SECTION, 'switch statement', 110 testcases[count++] = new TestCase ( SECTION, 'switc [all...] |