HomeSort by relevance Sort by last modified time
    Searched refs:SECTION (Results 126 - 150 of 959) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/webkit/JavaScriptCore/tests/mozilla/js1_2/statements/
switch2.js 32 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"';
39 writeHeaderToLog( SECTION + " "+ TITLE);
59 testcases[count++] = new TestCase(SECTION, 'switch statement',
62 testcases[count++] = new TestCase(SECTION, 'switch statement',
65 testcases[count++] = new TestCase(SECTION, 'switch statement',
68 testcases[count++] = new TestCase(SECTION, 'switch statement',
71 testcases[count++] = new TestCase(SECTION, 'switch statement',
88 testcases[count++] = new TestCase(SECTION, 'switch statement',
91 testcases[count++] = new TestCase(SECTION, 'switch statement',
94 testcases[count++] = new TestCase(SECTION, 'switch statement'
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/GlobalObject/
15.1.2.2-1.js 24 ECMA Section: 15.1.2.2 Function properties of the global object
91 var SECTION = "15.1.2.2-1";
97 writeHeaderToLog( SECTION + " "+ TITLE);
110 array[item++] = new TestCase( SECTION, "parseInt.length", 2, parseInt.length );
111 array[item++] = new TestCase( SECTION, "parseInt.length = 0; parseInt.length", 2, eval("parseInt.length = 0; parseInt.length") );
112 array[item++] = new TestCase( SECTION, "var PROPS=''; for ( var p in parseInt ) { PROPS += p; }; PROPS", "", eval("var PROPS=''; for ( var p in parseInt ) { PROPS += p; }; PROPS") );
113 array[item++] = new TestCase( SECTION, "delete parseInt.length", false, delete parseInt.length );
114 array[item++] = new TestCase( SECTION, "delete parseInt.length; parseInt.length", 2, eval("delete parseInt.length; parseInt.length") );
115 array[item++] = new TestCase( SECTION, "parseInt.length = null; parseInt.length", 2, eval("parseInt.length = null; parseInt.length") );
117 array[item++] = new TestCase( SECTION, "parseInt()", NaN, parseInt() )
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Array/
15.4-2.js 24 ECMA Section: 15.4 Array Objects
41 var SECTION = "15.4-2";
46 writeHeaderToLog( SECTION + " "+ TITLE);
55 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,16)] = 'hi'; arr.length", Math.pow(2,16)+1, eval("var arr=new Array(); arr[Math.pow(2,16)] = 'hi'; arr.length") );
57 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,30)-2] = 'hi'; arr.length", Math.pow(2,30)-1, eval("var arr=new Array(); arr[Math.pow(2,30)-2] = 'hi'; arr.length") );
58 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,30)-1] = 'hi'; arr.length", Math.pow(2,30), eval("var arr=new Array(); arr[Math.pow(2,30)-1] = 'hi'; arr.length") );
59 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,30)] = 'hi'; arr.length", Math.pow(2,30)+1, eval("var arr=new Array(); arr[Math.pow(2,30)] = 'hi'; arr.length") );
61 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,31)-2] = 'hi'; arr.length", Math.pow(2,31)-1, eval("var arr=new Array(); arr[Math.pow(2,31)-2] = 'hi'; arr.length") );
62 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,31)-1] = 'hi'; arr.length", Math.pow(2,31), eval("var arr=new Array(); arr[Math.pow(2,31)-1] = 'hi'; arr.length") );
63 array[item++] = new TestCase( SECTION, "var arr=new Array(); arr[Math.pow(2,31)] = 'hi'; arr.length", Math.pow(2,31)+1, eval("va (…)
    [all...]
15.4.5.1-2.js 24 ECMA Section: [[ Put]] (P, V)
27 ECMAScript objects (section 8.6.2.2).
63 var SECTION = "15.4.5.1-2";
68 writeHeaderToLog( SECTION + " "+ TITLE);
80 testcases[tc++] = new TestCase( SECTION,
85 testcases[tc++] = new TestCase( SECTION,
92 testcases[tc++] = new TestCase( SECTION,
97 testcases[tc++] = new TestCase( SECTION,
102 testcases[tc++] = new TestCase( SECTION,
107 testcases[tc++] = new TestCase( SECTION,
    [all...]
15.4.5.1-1.js 24 ECMA Section: [[ Put]] (P, V)
27 ECMAScript objects (section 8.6.2.2).
58 var SECTION = "15.4.5.1-1";
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,
    [all...]
15.4.2.2-1.js 24 ECMA Section: 15.4.2.2 new Array(len)
54 var SECTION = "15.4.2.2-1";
59 writeHeaderToLog( SECTION + " "+ TITLE);
68 array[item++] = new TestCase( SECTION, "new Array(0)", "", (new Array(0)).toString() );
69 array[item++] = new TestCase( SECTION, "typeof new Array(0)", "object", (typeof new Array(0)) );
70 array[item++] = new TestCase( SECTION, "(new Array(0)).length", 0, (new Array(0)).length );
71 array[item++] = new TestCase( SECTION, "(new Array(0)).toString", Array.prototype.toString, (new Array(0)).toString );
73 array[item++] = new TestCase( SECTION, "new Array(1)", "", (new Array(1)).toString() );
74 array[item++] = new TestCase( SECTION, "new Array(1).length", 1, (new Array(1)).length );
75 array[item++] = new TestCase( SECTION, "(new Array(1)).toString", Array.prototype.toString, (new Array(1)).toString )
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Number/
15.7.4.2-1.js 24 ECMA Section: 15.7.4.2.1 Number.prototype.toString()
40 var SECTION = "15.7.4.2-1";
45 writeHeaderToLog( SECTION + " Number.prototype.toString()");
53 array[item++] = new TestCase(SECTION, "Number.prototype.toString()", "0", "Number.prototype.toString()" );
54 array[item++] = new TestCase(SECTION, "typeof(Number.prototype.toString())", "string", "typeof(Number.prototype.toString())" );
56 array[item++] = new TestCase(SECTION, "s = Number.prototype.toString; o = new Number(); o.toString = s; o.toString()", "0", "s = Number.prototype.toString; o = new Number(); o.toString = s; o.toString()" );
57 array[item++] = new TestCase(SECTION, "s = Number.prototype.toString; o = new Number(1); o.toString = s; o.toString()", "1", "s = Number.prototype.toString; o = new Number(1); o.toString = s; o.toString()" );
58 array[item++] = new TestCase(SECTION, "s = Number.prototype.toString; o = new Number(-1); o.toString = s; o.toString()", "-1", "s = Number.prototype.toString; o = new Number(-1); o.toString = s; o.toString()" );
60 array[item++] = new TestCase(SECTION, "var MYNUM = new Number(255); MYNUM.toString(10)", "255", "var MYNUM = new Number(255); MYNUM.toString(10)" );
61 array[item++] = new TestCase(SECTION, "var MYNUM = new Number(Number.NaN); MYNUM.toString(10)", "NaN", "var MYNUM = new Number(N (…)
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/String/
15.5.4.2.js 24 ECMA Section: 15.5.4.2 String.prototype.toString
31 var SECTION = "15.5.4.2";
36 writeHeaderToLog( SECTION + " "+ TITLE);
45 array[item++] = new TestCase( SECTION, "String.prototype.toString.__proto__", Function.prototype, String.prototype.toString.__proto__ );
46 array[item++] = new TestCase( SECTION,
51 array[item++] = new TestCase( SECTION, "String.prototype.toString()", "", String.prototype.toString() );
52 array[item++] = new TestCase( SECTION, "String.prototype.toString.length", 0, String.prototype.toString.length );
55 array[item++] = new TestCase( SECTION,
59 array[item++] = new TestCase( SECTION,
63 array[item++] = new TestCase( SECTION,
    [all...]
15.5.5.1.js 24 ECMA Section: String.length
37 var SECTION = "15.5.5.1";
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/JavaScriptCore/tests/mozilla/js1_2/regexp/
RegExp_input_as_array.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, "RegExp['$_'] = 'abcd12357efg'; RegExp['$_']",
50 testcases[count++] = new TestCase ( SECTION, "RegExp['$_'] = 'abcd12357efg'; /\\d+/.exec('2345')",
55 testcases[count++] = new TestCase ( SECTION, "RegExp['$_'] = 'abcd12357efg'; /\\d+/.exec()",
60 testcases[count++] = new TestCase ( SECTION, "RegExp['$_'] = 'abcd12357efg'; /[h-z]+/.exec()",
65 testcases[count++] = new TestCase ( SECTION, "RegExp['$_'] = 'abcd12357efg'; /\\d+/.test('2345')",
70 testcases[count++] = new TestCase ( SECTION, "RegExp['$_'] = 'abcd12357efg'; /\\d+/.test()",
75 testcases[count++] = new TestCase ( SECTION, "RegExp['$_'] = 'abcd12357efg'; /[h-z]+/.test()",
80 testcases[count++] = new TestCase ( SECTION, "RegExp['$_'] = 'abcd12357efg'; (new RegExp('\d+')).test()"
    [all...]
RegExp_lastParen_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, "'abcd'.match(/(abc)d/); RegExp['$+']",
48 testcases[count++] = new TestCase ( SECTION, "'abcd'.match(/(bcd)e/); RegExp['$+']",
53 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(/(a(b(c(d)e)f)g)/); RegExp['$+']",
58 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('(a(b(c(d)e)f)g)')); RegExp['$+']",
63 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(/(a(b)c)(d(e)f)/); RegExp['$+']",
68 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(/(^)abc/); RegExp['$+']",
73 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(/(^a)bc/); RegExp['$+']",
78 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('(^a)bc')); RegExp['$+']"
    [all...]
dot.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, "'abcde'.match(new RegExp('ab.de'))",
46 testcases[count++] = new TestCase ( SECTION, "'line 1\nline 2'.match(new RegExp('.+'))",
50 testcases[count++] = new TestCase ( SECTION, "'this is a test'.match(new RegExp('.*a.*'))",
54 testcases[count++] = new TestCase ( SECTION, "'this is a *&^%$# test'.match(new RegExp('.+'))",
58 testcases[count++] = new TestCase ( SECTION, "'....'.match(new RegExp('.+'))",
62 testcases[count++] = new TestCase ( SECTION, "'abcdefghijklmnopqrstuvwxyz'.match(new RegExp('.+'))",
66 testcases[count++] = new TestCase ( SECTION, "'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.match(new RegExp('.+'))",
70 testcases[count++] = new TestCase ( SECTION, "'`1234567890-=~!@#$%^&*()_+'.match(new RegExp('.+'))"
    [all...]
string_split.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, "'a b c de f'.split(/\s/)",
46 testcases[count++] = new TestCase ( SECTION, "'a b c de f'.split(/\s/,3)",
50 testcases[count++] = new TestCase ( SECTION, "'a b c de f'.split(/X/)",
54 testcases[count++] = new TestCase ( SECTION, "'dfe23iu 34 =+65--'.split(/\d+/)",
58 testcases[count++] = new TestCase ( SECTION, "'dfe23iu 34 =+65--'.split(new RegExp('\\d+'))",
62 testcases[count++] = new TestCase ( SECTION, "'abc'.split(/[a-z]/)",
66 testcases[count++] = new TestCase ( SECTION, "'abc'.split(/[a-z]/)",
70 testcases[count++] = new TestCase ( SECTION, "'abc'.split(new RegExp('[a-z]'))"
    [all...]
asterisk.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, "'abcddddefg'.match(new RegExp('d*'))",
46 testcases[count++] = new TestCase ( SECTION, "'abcddddefg'.match(new RegExp('cd*'))",
50 testcases[count++] = new TestCase ( SECTION, "'abcdefg'.match(new RegExp('cx*d'))",
54 testcases[count++] = new TestCase ( SECTION, "'xxxxxxx'.match(new RegExp('(x*)(x+)'))",
58 testcases[count++] = new TestCase ( SECTION, "'1234567890'.match(new RegExp('(\\d*)(\\d+)'))",
63 testcases[count++] = new TestCase ( SECTION, "'1234567890'.match(new RegExp('(\\d*)\\d(\\d+)'))",
68 testcases[count++] = new TestCase ( SECTION, "'xxxxxxx'.match(new RegExp('(x+)(x*)'))",
72 testcases[count++] = new TestCase ( SECTION, "'xxxxxxyyyyyy'.match(new RegExp('x*y+$'))"
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/js1_3/Script/
new-001.js 24 Section:
32 var SECTION = "new-001";
38 writeHeaderToLog( SECTION + " "+ TITLE);
53 SECTION,
59 SECTION,
65 SECTION,
71 SECTION,
77 SECTION,
83 SECTION,
89 SECTION,
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/js1_3/regress/
new-001.js 24 Section:
32 var SECTION = "new-001";
38 writeHeaderToLog( SECTION + " "+ TITLE);
53 SECTION,
59 SECTION,
65 SECTION,
71 SECTION,
77 SECTION,
83 SECTION,
89 SECTION,
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/
7.1-1.js 24 ECMA Section: 7.1 White Space
42 var SECTION = "7.1-1";
47 writeHeaderToLog( SECTION + " "+ TITLE);
59 array[item++] = new TestCase( SECTION, 'var'+'\t'+'MYVAR1=10;MYVAR1', 10, eval('var'+'\t'+'MYVAR1=10;MYVAR1') );
60 array[item++] = new TestCase( SECTION, 'var'+'\f'+'MYVAR2=10;MYVAR2', 10, eval('var'+'\f'+'MYVAR2=10;MYVAR2') );
61 array[item++] = new TestCase( SECTION, 'var'+'\v'+'MYVAR2=10;MYVAR2', 10, eval('var'+'\v'+'MYVAR2=10;MYVAR2') );
62 array[item++] = new TestCase( SECTION, 'var'+'\ '+'MYVAR2=10;MYVAR2', 10, eval('var'+'\ '+'MYVAR2=10;MYVAR2') );
66 array[item++] = new TestCase( SECTION,
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/SourceText/
6-1.js 24 ECMA Section: Source Text
63 var SECTION = "6-1";
68 writeHeaderToLog( SECTION + " "+ TITLE);
72 testcases[tc] = new TestCase( SECTION,
81 testcases[tc] = new TestCase( SECTION,
90 testcases[tc] = new TestCase( SECTION,
97 testcases[tc++] = new TestCase( SECTION,
103 testcases[tc] = new TestCase( SECTION,
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_2/instanceof/
instanceof-002.js 3 ECMA Section:
11 var SECTION = "";
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/JavaScriptCore/tests/mozilla/js1_2/function/
String.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, "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/JavaScriptCore/tests/mozilla/ecma/Expressions/
11.6.1-1.js 24 ECMA Section: 11.6.1 The addition operator ( + )
63 var SECTION = "11.6.1-1";
69 writeHeaderToLog( SECTION + " The Addition operator ( + )");
94 array[item++] = new TestCase( SECTION,
99 array[item++] = new TestCase( SECTION,
104 array[item++] = new TestCase( SECTION,
109 array[item++] = new TestCase( SECTION,
114 array[item++] = new TestCase( SECTION,
119 array[item++] = new TestCase( SECTION,
124 array[item++] = new TestCase( SECTION,
    [all...]
11.6.1-2.js 24 ECMA Section: 11.6.1 The addition operator ( + )
63 var SECTION = "11.6.1-2";
69 writeHeaderToLog( SECTION + " The Addition operator ( + )");
93 array[item++] = new TestCase( SECTION,
98 array[item++] = new TestCase( SECTION,
103 array[item++] = new TestCase( SECTION,
108 array[item++] = new TestCase( SECTION,
113 array[item++] = new TestCase( SECTION,
118 array[item++] = new TestCase( SECTION,
123 array[item++] = new TestCase( SECTION,
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/
15.8.2.10.js 24 ECMA Section: 15.8.2.10 Math.log(x)
37 var SECTION = "15.8.2.10";
43 writeHeaderToLog( SECTION + " "+ TITLE);
52 array[item++] = new TestCase( SECTION, "Math.log.length", 1, Math.log.length );
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) );
56 array[item++] = new TestCase( SECTION, "Math.log(null)", Number.NEGATIVE_INFINITY, Math.log(null) );
57 array[item++] = new TestCase( SECTION, "Math.log(true)", 0, Math.log(true) );
58 array[item++] = new TestCase( SECTION, "Math.log(false)", -Infinity, Math.log(false) );
59 array[item++] = new TestCase( SECTION, "Math.log('0')", -Infinity, Math.log('0') )
    [all...]
15.8.2.9.js 24 ECMA Section: 15.8.2.9 Math.floor(x)
41 var SECTION = "15.8.2.9";
46 writeHeaderToLog( SECTION + " "+ TITLE);
55 array[item++] = new TestCase( SECTION, "Math.floor.length", 1, Math.floor.length );
57 array[item++] = new TestCase( SECTION, "Math.floor()", Number.NaN, Math.floor() );
58 array[item++] = new TestCase( SECTION, "Math.floor(void 0)", Number.NaN, Math.floor(void 0) );
59 array[item++] = new TestCase( SECTION, "Math.floor(null)", 0, Math.floor(null) );
60 array[item++] = new TestCase( SECTION, "Math.floor(true)", 1, Math.floor(true) );
61 array[item++] = new TestCase( SECTION, "Math.floor(false)", 0, Math.floor(false) );
63 array[item++] = new TestCase( SECTION, "Math.floor('1.1')", 1, Math.floor("1.1") )
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/
15.3.1.1-2.js 24 ECMA Section: 15.3.1.1 The Function Constructor Called as a Function
39 var SECTION = "15.3.1.1-2";
44 writeHeaderToLog( SECTION + " "+ TITLE);
62 array[item++] = new TestCase( SECTION, "myfunc1 = Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()",
66 array[item++] = new TestCase( SECTION, "myfunc1.length", 3, myfunc1.length );
67 array[item++] = new TestCase( SECTION, "myfunc1.prototype.toString()", "[object Object]", myfunc1.prototype.toString() );
69 array[item++] = new TestCase( SECTION, "myfunc1.prototype.constructor", myfunc1, myfunc1.prototype.constructor );
70 array[item++] = new TestCase( SECTION, "myfunc1.arguments", null, myfunc1.arguments );
71 array[item++] = new TestCase( SECTION, "myfunc1(1,2,3)", 6, myfunc1(1,2,3) );
72 array[item++] = new TestCase( SECTION, "var MYPROPS = ''; for ( var p in myfunc1.prototype ) { MYPROPS += p; }; MYPROPS"
    [all...]

Completed in 1007 milliseconds

1 2 3 4 56 7 8 91011>>