/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/ |
15.4.1.2.js | 24 ECMA Section: 15.4.1.2 Array(len) 38 var SECTION = "15.4.1.2"; 43 writeHeaderToLog( SECTION + " "+ TITLE); 52 array[item++] = new TestCase( SECTION, "(Array()).length", 0, (Array()).length ); 53 array[item++] = new TestCase( SECTION, "(Array(0)).length", 0, (Array(0)).length ); 54 array[item++] = new TestCase( SECTION, "(Array(1)).length", 1, (Array(1)).length ); 55 array[item++] = new TestCase( SECTION, "(Array(10)).length", 10, (Array(10)).length ); 56 array[item++] = new TestCase( SECTION, "(Array('1')).length", 1, (Array('1')).length ); 57 array[item++] = new TestCase( SECTION, "(Array(1000)).length", 1000, (Array(1000)).length ); 58 array[item++] = new TestCase( SECTION, "(Array('1000')).length", 1, (Array('1000')).length ) [all...] |
15.4.2.2-2.js | 24 ECMA Section: 15.4.2.2 new Array(len) 52 var SECTION = "15.4.2.2-2"; 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 ) [all...] |
15.4.2.3.js | 24 ECMA Section: 15.4.2.3 new Array() 35 var SECTION = "15.4.2.3"; 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 == Arr (…) [all...] |
15.4.1.3.js | 24 ECMA Section: 15.4.1.3 Array() 38 var SECTION = "15.4.1.3"; 43 writeHeaderToLog( SECTION + " "+ TITLE); 53 array[item++] = new TestCase( SECTION, 58 array[item++] = new TestCase( SECTION, 63 array[item++] = new TestCase( SECTION, 68 array[item++] = new TestCase( SECTION,
|
15.4.3.1-2.js | 24 ECMA Section: 15.4.3.1 Array.prototype 32 var SECTION = "15.4.3.1-1"; 37 writeHeaderToLog( SECTION + " "+ TITLE); 47 array[item++] = new TestCase( SECTION, "var props = ''; for ( p in Array ) { props += p } props", "", eval("var props = ''; for ( p in Array ) { props += p } props") ); 49 array[item++] = new TestCase( SECTION, "Array.prototype = null; Array.prototype", ARRAY_PROTO, eval("Array.prototype = null; Array.prototype") ); 51 array[item++] = new TestCase( SECTION, "delete Array.prototype", false, delete Array.prototype ); 52 array[item++] = new TestCase( SECTION, "delete Array.prototype; Array.prototype", ARRAY_PROTO, eval("delete Array.prototype; Array.prototype") );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
15.3.5-1.js | 24 ECMA Section: 15.3.5 Properties of Function Instances 57 var SECTION = "15.3.5-1"; 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 (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/Array/ |
tostring_1.js | 24 ECMA Section: Array.toString() 33 var SECTION = "JS1_2"; 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, [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/function/ |
Number.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; 37 writeHeaderToLog( SECTION + " "+ TITLE); 45 testcases[count++] = new TestCase( SECTION, "Number(new Date(2200)) ", 47 testcases[count++] = new TestCase( SECTION, "Number(true) ", 49 testcases[count++] = new TestCase( SECTION, "Number(false) ", 51 testcases[count++] = new TestCase( SECTION, "Number('124') ", 53 testcases[count++] = new TestCase( SECTION, "Number('1.23') ", 55 testcases[count++] = new TestCase( SECTION, "Number({p:1}) ", 57 testcases[count++] = new TestCase( SECTION, "Number(null) ", 59 testcases[count++] = new TestCase( SECTION, "Number(-45) " [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
compile.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, 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...] |
flags.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, "'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, "'xa Xb xc xd Xe xf'.match(new RegExp('x.','ig'))" [all...] |
plus.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, "'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, "'abbbbbbbc'.match(/b*b+/)" [all...] |
simple_form.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; 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...] |
source.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.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, "(new RegExp('abc[\\\\b]def')).source" [all...] |
string_search.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, "'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, "'abc1'.search(/\d{2}/)" [all...] |
test.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; 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...] |
question_mark.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, "'abcdef'.match(new RegExp('cd?e'))", 46 testcases[count++] = new TestCase ( SECTION, "'abcdef'.match(new RegExp('cdx?e'))", 50 testcases[count++] = new TestCase ( SECTION, "'pqrstuvw'.match(new RegExp('o?pqrst'))", 54 testcases[count++] = new TestCase ( SECTION, "'abcd'.match(new RegExp('x?y?z?'))", 58 testcases[count++] = new TestCase ( SECTION, "'abcd'.match(new RegExp('x?ay?bz?c'))", 62 testcases[count++] = new TestCase ( SECTION, "'abcd'.match(/x?ay?bz?c/)", 66 testcases[count++] = new TestCase ( SECTION, "'abbbbc'.match(new RegExp('b?b?b?b'))", 70 testcases[count++] = new TestCase ( SECTION, "'123az789'.match(new RegExp('ab?c?d?x?y?z'))" [all...] |
RegExp_dollar_number.js | 30 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; 37 writeHeaderToLog( SECTION + " "+ TITLE); 44 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/(a(b(c(d(e)f)g)h)i)/); RegExp.$1", 48 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/(a(b(c(d(e)f)g)h)i)/); RegExp.$2", 52 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/(a(b(c(d(e)f)g)h)i)/); RegExp.$3", 56 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/(a(b(c(d(e)f)g)h)i)/); RegExp.$4", 60 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/(a(b(c(d(e)f)g)h)i)/); RegExp.$5", 64 testcases[count++] = new TestCase ( SECTION, "'abcdefghi'.match(/(a(b(c(d(e)f)g)h)i)/); RegExp.$6", 72 testcases[count++] = new TestCase ( SECTION, "'" + a_to_z + "'.match((a)b(c)....(y)z); RegExp.$1", 74 testcases[count++] = new TestCase ( SECTION, "'" + a_to_z + "'.match((a)b(c)....(y)z); RegExp.$2" [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/statements/ |
switch.js | 32 var SECTION = 'As described in Netscape doc "Whats new in JavaScript 1.2"'; 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, 'switch statement' [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.2.1.js | 24 ECMA Section: 15.9.2.1 Date constructor used as a function 36 var SECTION = "15.9.2.1"; 57 array[item++] = new TestCase( SECTION, "Date(1970,0,1,0,0,0,0)", (new Date()).toString(), Date(1970,0,1,0,0,0,0) ); 58 array[item++] = new TestCase( SECTION, "Date(1969,11,31,15,59,59,999)", (new Date()).toString(), Date(1969,11,31,15,59,59,999)) 59 array[item++] = new TestCase( SECTION, "Date(1969,11,31,16,0,0,0)", (new Date()).toString(), Date(1969,11,31,16,0,0,0)) 60 array[item++] = new TestCase( SECTION, "Date(1969,11,31,16,0,0,1)", (new Date()).toString(), Date(1969,11,31,16,0,0,1)) 63 array[item++] = new TestCase( SECTION, "Date(1999,11,15,59,59,999)", (new Date()).toString(), Date(1999,11,15,59,59,999)); 64 array[item++] = new TestCase( SECTION, "Date(1999,11,16,0,0,0,0)", (new Date()).toString(), Date(1999,11,16,0,0,0,0)); 65 array[item++] = new TestCase( SECTION, "Date(1999,11,31,23,59,59,999)", (new Date()).toString(), Date(1999,11,31,23,59,59,999) ); 66 array[item++] = new TestCase( SECTION, "Date(2000,0,1,0,0,0,0)", (new Date()).toString(), Date(2000,0,0,0,0,0,0) ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.2.4.js | 24 ECMA Section: 15.1.2.4 Function properties of the global object 69 var SECTION = "15.1.2.4"; 74 writeHeaderToLog( SECTION + " "+ TITLE); 84 array[item++] = new TestCase( SECTION, "escape.length", 1, escape.length ); 85 array[item++] = new TestCase( SECTION, "escape.length = null; escape.length", 1, eval("escape.length = null; escape.length") ); 86 array[item++] = new TestCase( SECTION, "delete escape.length", false, delete escape.length ); 87 array[item++] = new TestCase( SECTION, "delete escape.length; escape.length", 1, eval("delete escape.length; escape.length") ); 88 array[item++] = new TestCase( SECTION, "var MYPROPS=''; for ( var p in escape ) { MYPROPS+= p}; MYPROPS", "", eval("var MYPROPS=''; for ( var p in escape ) { MYPROPS+= p}; MYPROPS") ); 90 array[item++] = new TestCase( SECTION, "escape()", "undefined", escape() ); 91 array[item++] = new TestCase( SECTION, "escape('')", "", escape('') ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.5.js | 24 ECMA Section: 15.8.2.5 atan2( y, x ) 31 var SECTION = "15.8.2.5"; 37 writeHeaderToLog( SECTION + " "+ TITLE); 46 array[item++] = new TestCase( SECTION, "Math.atan2.length", 2, Math.atan2.length ); 48 array[item++] = new TestCase( SECTION, "Math.atan2(NaN, 0)", Number.NaN, Math.atan2(Number.NaN,0) ); 49 array[item++] = new TestCase( SECTION, "Math.atan2(null, null)", 0, Math.atan2(null, null) ); 50 array[item++] = new TestCase( SECTION, "Math.atan2(void 0, void 0)", Number.NaN, Math.atan2(void 0, void 0) ); 51 array[item++] = new TestCase( SECTION, "Math.atan2()", Number.NaN, Math.atan2() ); 53 array[item++] = new TestCase( SECTION, "Math.atan2(0, NaN)", Number.NaN, Math.atan2(0,Number.NaN) ); 54 array[item++] = new TestCase( SECTION, "Math.atan2(1, 0)", Math.PI/2, Math.atan2(1,0) ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.5-5.js | 24 ECMA Section: 15.5.4.5 String.prototype.charCodeAt(pos) 52 var SECTION = "15.5.4.5-5"; 57 writeHeaderToLog( SECTION + " "+ TITLE); 73 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(0)", 0x0074, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(0)") ); 74 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(1)", 0x0072, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(1)") ); 75 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(2)", 0x0075, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(2)") ); 76 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(3)", 0x0065, eval("x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(3)") ); 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)") ); 80 array[item++] = new TestCase( SECTION, "x = new Boolean(true); x.charCodeAt=String.prototype.charCodeAt;x.charCodeAt(true)", 0x0072 (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Boolean/ |
15.6.4-1.js | 24 ECMA Section: 15.6.4 Properties of the Boolean Prototype Object 41 var SECTION = "15.6.4-1"; 43 writeHeaderToLog( SECTION + " Properties of the Boolean Prototype Object"); 51 array[item++] = new TestCase( SECTION, "typeof Boolean.prototype == typeof( new Boolean )", true, typeof Boolean.prototype == typeof( new Boolean ) ); 52 array[item++] = new TestCase( SECTION, "typeof( Boolean.prototype )", "object", typeof(Boolean.prototype) ); 53 array[item++] = new TestCase( SECTION, 57 array[item++] = new TestCase( SECTION, "Boolean.prototype.valueOf()", false, Boolean.prototype.valueOf() );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.2.3-1.js | 24 ECMA Section: 11.2.3. Function Calls 32 (section 0). 57 var SECTION = "11.2.3-1"; 62 writeHeaderToLog( SECTION + " "+ TITLE); 69 testcases[tc++] = new TestCase( SECTION, 74 testcases[tc++] = new TestCase( SECTION, 83 testcases[tc++] = new TestCase( SECTION, 90 testcases[tc++] = new TestCase( SECTION, 96 testcases[tc++] = new TestCase( SECTION, 102 testcases[tc++] = new TestCase( SECTION, [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/ |
7.1-2.js | 24 ECMA Section: 7.1 White Space 42 var SECTION = "7.1-2"; 47 writeHeaderToLog( SECTION + " "+ TITLE); 55 array[item++] = new TestCase( SECTION, "'var'+'\u000B'+'MYVAR1=10;MYVAR1'", 10, eval('var'+'\u000B'+'MYVAR1=10;MYVAR1') ); 56 array[item++] = new TestCase( SECTION, "'var'+'\u0009'+'MYVAR2=10;MYVAR2'", 10, eval('var'+'\u0009'+'MYVAR2=10;MYVAR2') ); 57 array[item++] = new TestCase( SECTION, "'var'+'\u000C'+'MYVAR3=10;MYVAR3'", 10, eval('var'+'\u000C'+'MYVAR3=10;MYVAR3') ); 58 array[item++] = new TestCase( SECTION, "'var'+'\u0020'+'MYVAR4=10;MYVAR4'", 10, eval('var'+'\u0020'+'MYVAR4=10;MYVAR4') );
|