/external/chromium_org/v8/test/webkit/fast/js/kde/ |
iteration.js | 30 shouldBe("count", "10"); 38 shouldBe("count", "5"); 45 shouldBe("count", "10"); 56 shouldBe("properties", "'a=11;b=22;'"); 64 // shouldBe("properties", "'abyx'"); 73 shouldBe("list","'[0]=100;[1]=101;'"); 79 shouldBe("list", "'123'")
|
exception_propagation.js | 39 shouldBe("func_ret_with_ex_func", "4"); 49 shouldBe("func_ret_from_ex_throw_args", "4"); 59 shouldBe("set_from_throw_func_args","4"); 69 shouldBe("set_from_func_throw_args","4"); 79 shouldBe("set_from_before_func_throw_args","1"); 95 shouldBe("function_param_order","'abc'"); 110 shouldBe("new_param_order","'abc'"); 125 shouldBe("elision_param_order","'abc'"); 140 shouldBe("comma_order","'abc'"); 152 "shouldBe('"+name+"_part1', '1');\n" [all...] |
/external/chromium_org/v8/test/webkit/fast/js/ |
string-anchor.js | 31 shouldBe("'_'.anchor('b')", '"<a name=\\"b\\">_</a>"'); 34 shouldBe("'<'.anchor('b')", '"<a name=\\"b\\"><</a>"'); 37 shouldBe("'_'.anchor(0x2A)", '"<a name=\\"42\\">_</a>"'); 40 shouldBe("'_'.anchor('\"')", '"<a name=\\""\\">_</a>"'); 41 shouldBe("'_'.anchor('\" href=\"http://www.evil.com')", '"<a name=\\"" href="http://www.evil.com\\">_</a>"'); 44 shouldBe("String.prototype.anchor.call(0x2A, 0x2A)", '"<a name=\\"42\\">42</a>"'); 53 shouldBe("String.prototype.anchor.length", "1")
|
string-fontcolor.js | 31 shouldBe("'_'.fontcolor('b')", '"<font color=\\"b\\">_</font>"'); 34 shouldBe("'<'.fontcolor('b')", '"<font color=\\"b\\"><</font>"'); 37 shouldBe("'_'.fontcolor(0x2A)", '"<font color=\\"42\\">_</font>"'); 40 shouldBe("'_'.fontcolor('\"')", '"<font color=\\""\\">_</font>"'); 41 shouldBe("'_'.fontcolor('\" size=\"2px')", '"<font color=\\"" size="2px\\">_</font>"'); 44 shouldBe("String.prototype.fontcolor.call(0x2A, 0x2A)", '"<font color=\\"42\\">42</font>"'); 53 shouldBe("String.prototype.fontcolor.length", "1")
|
function-toString-semicolon-insertion.js | 29 shouldBe("(function(){return}).toString()", "'function () {return;}'"); 30 shouldBe("(function(){return }).toString()", "'function () {return; }'"); 31 shouldBe("(function(){return" + "\n" + "}).toString()", "'function () {return;" + "\\n" + "}'"); 32 shouldBe("(function(){}).toString()", "'function () {}'"); 33 shouldBe("(function(){ }).toString()", "'function () { }'");
|
regexp-extended-characters-crash.js | 30 shouldBe('new RegExp("[\u00c0-\u1f4d]").toString()', '/[\u00c0-\u1f4d]/.toString()'); 31 shouldBe('new RegExp("[\u3041-\u3094]").toString()', '/[\u3041-\u3094]/.toString()'); 32 shouldBe('new RegExp("[\u4d00-\u4db5]").toString()', '/[\u4d00-\u4db5]/.toString()'); 33 shouldBe('new RegExp("[\u4e00-\u9fa5]").toString()', '/[\u4e00-\u9fa5]/.toString()'); 36 shouldBe('new RegExp("[\u0001-\u1f4d]").toString()', '/[\u0001-\u1f4d]/.toString()');
|
JSON-parse-reviver.js | 34 shouldBe("currentHolder.length", "" + expectedLength); 38 shouldBe("currentHolder", "lastHolder"); 45 shouldBe("currentHolder[0]", '"a value"'); 46 shouldBe("currentHolder[1]", '"another value"'); 47 shouldBe("currentHolder[2]", '"and another value"'); 48 shouldBe("currentHolder[3]", '"to delete"'); 49 shouldBe("currentHolder[4]", '"extra value"'); 62 shouldBe("currentHolder[2]", '"a replaced value"'); 66 shouldBe("value", "currentHolder[2]"); 108 shouldBe("result", "lastHolder['']") [all...] |
date-preserve-milliseconds.js | 34 shouldBe("d.getMilliseconds()", oldValue.toString()); 36 shouldBe("d.getMilliseconds()", oldValue.toString()); 38 shouldBe("d.getMilliseconds()", oldValue.toString()); 40 shouldBe("d.getMilliseconds()", oldValue.toString()); 42 shouldBe("d.getMilliseconds()", oldValue.toString()); 44 shouldBe("d.getMilliseconds()", oldValue.toString());
|
modify-non-references.js | 24 shouldBe("function f() { g()++; } f.toString()", "'function f() { g()++; }'"); 25 shouldBe("function f() { g()--; } f.toString()", "'function f() { g()--; }'"); 26 shouldBe("function f() { ++g(); } f.toString()", "'function f() { ++g(); }'"); 27 shouldBe("function f() { --g(); } f.toString()", "'function f() { --g(); }'"); 28 shouldBe("function f() { g() = 1; } f.toString()", "'function f() { g() = 1; }'"); 29 shouldBe("function f() { g() += 1; } f.toString()", "'function f() { g() += 1; }'");
|
toString-overrides.js | 44 shouldBe("[1].toString()", "'1'"); 45 shouldBe("[1].toLocaleString()", "'toLocaleString'"); 47 shouldBe("[1].toLocaleString()", "'1'"); 48 shouldBe("[/r/].toString()", "'toString2'"); 49 shouldBe("[/r/].toLocaleString()", "'toLocaleString2'"); 51 shouldBe("[/r/].toLocaleString()", "'toString2'");
|
/external/chromium_org/v8/test/webkit/ |
regexp-non-bmp.js | 33 shouldBe('/./.exec(surrogatePair).toString().length', '1'); 34 shouldBe('/\\D/.exec(surrogatePair).toString().length', '1'); 35 shouldBe('/\\S/.exec(surrogatePair).toString().length', '1'); 36 shouldBe('/\\W/.exec(surrogatePair).toString().length', '1'); 37 shouldBe('/[^x]/.exec(surrogatePair).toString().length', '1'); 41 shouldBe('/.{1,2}/.exec("!!" + String.fromCharCode(0xA1)).toString().length', '2'); 42 shouldBe('/./.exec("")', 'null');
|
unmatching-argument-count.js | 35 shouldBe('eval("f()")', '""'); 36 shouldBe('eval("f(1)")', '"1"'); 37 shouldBe('eval("f(1, 2)")', '"1, 2"'); 38 shouldBe('eval("f(1, 2, 3)")', '"1, 2, 3"'); 39 shouldBe('eval("f(1, 2, 3, 4)")', '"1, 2, 3, 4"'); 40 shouldBe('eval("f(1, 2, 3, 4, 5)")', '"1, 2, 3, 4, 5"'); 41 shouldBe('eval("f(1, 2, 3, 4, 5, 6)")', '"1, 2, 3, 4, 5, 6"');
|
for-in-cached.js | 37 shouldBe("forIn1()", "['x', 'y']"); 48 shouldBe("forIn2()", "['x']"); 59 shouldBe("forIn3({ __proto__: { y1: 2 } })", "['x', 'y1']"); 63 shouldBe("forIn3({ y2 : 2, __proto__: null })", "['x', 'y2']"); 67 shouldBe("forIn3({ __proto__: { __proto__: { y3 : 2 } } })", "['x', 'y3']"); 77 shouldBe("forIn4(objectWithArrayAsProto)", "[]"); 79 shouldBe("forIn4(objectWithArrayAsProto)", "['0']"); 86 shouldBe("forIn5({get foo() { return 'called getter'} })", "['foo', 'called getter']"); 87 shouldBe("forIn5({set foo() { } })", "['foo', undefined]"); 88 shouldBe("forIn5({get foo() { return 'called getter'}, set foo() { }})", "['foo', 'called getter']") [all...] |
add-recovery.js | 39 shouldBe("destructiveAddForBoxedInteger({x:1}, 2, 4)", "9"); 40 shouldBe("destructiveAddForBoxedInteger({x:2147483647}, 2, 4)", "2147483655"); 41 shouldBe("destructiveAddForBoxedInteger({x:2}, 2147483647, 4)", "4294967300"); 42 shouldBe("destructiveAddForBoxedInteger({x:2147483647}, 2147483647, 4)", "6442450945"); 43 shouldBe("destructiveAddForBoxedInteger({x:1}, 2, 2147483647)", "2147483652");
|
array-index-immediate-types.js | 30 shouldBe("array[0]", '"Zero"'); 31 shouldBe("array[null]", "undefined"); 32 shouldBe("array[undefined]", "undefined"); 33 shouldBe("array[true]", "undefined"); 34 shouldBe("array[false]", "undefined");
|
boxed-double-to-int.js | 34 shouldBe("boxedDoubleToInt(1, 2)", "3.5"); 35 shouldBe("boxedDoubleToInt(3, 4)", "4.5"); 36 shouldBe("boxedDoubleToInt(5, 6)", "7.5"); 37 shouldBe("boxedDoubleToInt(7, 8)", "8.5"); 38 shouldBe("boxedDoubleToInt(9, 10)", "11.5");
|
apply-varargs.js | 87 shouldBe("caller(0)", 'undefined'); 88 shouldBe("caller(1)", 'undefined'); 89 shouldBe("caller(2)", 'undefined'); 90 shouldBe("caller(3)", 'undefined'); 91 shouldBe("caller(4)", 'undefined'); 92 shouldBe("caller(5)", 'undefined'); 93 shouldBe("caller(6)", 'undefined'); 94 shouldBe("caller(7)", 'undefined'); 95 shouldBe("caller(8)", 'undefined');
|
dfg-ensure-non-array-array-storage-on-window.js | 45 shouldBe("foo(array)", "6"); 49 shouldBe("otherArray[1]", "42"); 62 shouldBe("foo(array)", "10"); 67 shouldBe("otherArray[1]", "42"); 75 shouldBe("foo(w)", "1"); 76 shouldBe("thingy", "false"); 84 shouldBe("thingy", "42"); 85 shouldBe("foo(w)", "1"); 87 shouldBe("foo(w)", "0/0");
|
property-getters-and-setters.js | 30 shouldBe("o1.b", "8"); 32 shouldBe("o1.b", "11"); 39 shouldBe("o2.b", "8"); 41 shouldBe("o2.b", "11"); 45 shouldBe("o3.x = 10; o3.x", "42"); 58 shouldBe("o4.__lookupGetter__('b')", "getB"); 59 shouldBe("o4.__lookupSetter__('b')", "setB"); 74 shouldBe("x", "0"); 88 shouldBe("o8.numSets", "0"); 92 shouldBe("typeof testObj.getter", "'string'") [all...] |
regexp-char-insensitive.js | 41 shouldBe("'PAS\u00E5'.replace(/\u00E5/ig, 'S')", "'PASS'"); 42 shouldBe("'PAS\u00E5'.replace(/\u00C5/ig, 'S')", "'PASS'"); 43 shouldBe("'PAS\u00C5'.replace(/\u00E5/ig, 'S')", "'PASS'"); 44 shouldBe("'PAS\u00C5'.replace(/\u00C5/ig, 'S')", "'PASS'"); 46 shouldBe("'PASS'.replace(/\u00E5/ig, '%C3%A5')", "'PASS'"); 47 shouldBe("'PASS'.replace(/\u00C5/ig, '%C3%A5')", "'PASS'");
|
/external/chromium_org/v8/test/webkit/fast/regex/ |
invalid-range-in-class.js | 29 shouldBe('/[a-c]+/.exec("-acbd");', '["acb"]'); 30 shouldBe('/[a\\-c]+/.exec("-acbd")', '["-ac"]'); 36 shouldBe('/[\\d-x]+/.exec("1-3xy");', '["1-3x"]'); 37 shouldBe('/[x-\\d]+/.exec("1-3xy");', '["1-3x"]'); 38 shouldBe('/[\\d-\\d]+/.exec("1-3xy");', '["1-3"]'); 42 shouldBe('/[\\d-a-z]+/.exec("az1-3y");', '["az1-3"]'); 45 shouldBe('/[\\d\\-x]+/.exec("1-3xy");', '["1-3x"]'); 46 shouldBe('/[x\\-\\d]+/.exec("1-3xy");', '["1-3x"]'); 47 shouldBe('/[\\d\\-\\d]+/.exec("1-3xy");', '["1-3"]'); 50 shouldBe('/[\\d-]+/.exec("1-3xy")', '["1-3"]') [all...] |
toString.js | 43 shouldBe("RegExp('/').source", '"\\\\/"'); 44 shouldBe("RegExp('').source", '"(?:)"'); 45 shouldBe("RegExp.prototype.source", '"(?:)"'); 47 shouldBe("RegExp('/').toString()", '"/\\\\//"'); 48 shouldBe("RegExp('').toString()", '"/(?:)/"'); 49 shouldBe("RegExp.prototype.toString()", '"/(?:)/"'); 77 shouldBe("RegExp('[/]').source", "'[/]'"); 78 shouldBe("RegExp('\\\\[/]').source", "'\\\\[\\\\/]'"); 87 shouldBe("var o = new RegExp(); o.toString() === '/'+o.source+'/' && eval(o.toString()+'.exec(String())')", '[""]');
|
malformed-escapes.js | 33 shouldBe("regexp.lastIndex", "2"); 38 shouldBe("regexp.lastIndex", "2"); 43 shouldBe("regexp.lastIndex", "3"); 48 shouldBe("regexp.lastIndex", "1"); 53 shouldBe("regexp.lastIndex", "1"); 58 shouldBe("regexp.lastIndex", "2");
|
/external/chromium_org/content/test/data/indexeddb/ |
cursor_prefetch.js | 58 shouldBe("count", "kNumberOfItems"); 63 shouldBe("cursor.key", "count"); 65 shouldBe("cursor.value", "count"); 104 shouldBe("cursor.key", "expectedKey"); 106 shouldBe("cursor.value", "expectedKey"); 142 shouldBe("count", "kNumberOfItems"); 149 shouldBe("cursor.key", "expectedKey"); 151 shouldBe("cursor.value", "expectedKey"); 181 shouldBe("cursor.key", "count"); 183 shouldBe("cursor.value", "count") [all...] |
open_bad_db.js | 16 shouldBe("event.dataLoss", "'total'"); 24 shouldBe("db.objectStoreNames.length", "0");
|