/external/chromium_org/content/test/data/indexeddb/ |
key_types_test.js | 144 shouldBe("ex.code", "0"); 145 shouldBe("ex.name", "'DataError'"); 157 shouldBe("indexedDB.cmp(" + key1 + "," + key2 + ")", "-1"); 158 shouldBe("indexedDB.cmp(" + key2 + "," + key1 + ")", "1"); 159 shouldBe("indexedDB.cmp(" + key1 + "," + key1 + ")", "0"); 160 shouldBe("indexedDB.cmp(" + key2 + "," + key2 + ")", "0");
|
/external/chromium_org/v8/test/webkit/ |
Object-create.js | 30 shouldBe("JSON.stringify(Object.create(null,{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\''); 31 shouldBe("JSON.stringify(Object.create({},{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\''); 32 shouldBe("JSON.stringify(Object.create({},{property:{value:'foo'}, property2:{value:'foo', enumerable:true}}))", '\'{"property2":"foo"}\''); 33 shouldBe("JSON.stringify(Object.create(null,{property:{value:'foo'}, property2:{value:'foo', enumerable:true}}))", '\'{"property2":"foo"}\''); 34 shouldBe("Object.getPrototypeOf(Object.create(Array.prototype))", "Array.prototype"); 35 shouldBe("Object.getPrototypeOf(Object.create(null))", "null");
|
toString-elision-trailing-comma.js | 93 shouldBe("typeof undefined", "'undefined'"); 100 shouldBe(""+ fn +"().length", "" + length); 103 shouldBe(""+ fn +"()[" + length +"-1]", "" + lastElement); 107 shouldBe("unevalf(eval(unevalf("+fn+")))", "unevalf(" + fn + ")"); 111 shouldBe("eval(unevalf("+fn+"))().length", ""+length); 112 shouldBe("eval(unevalf("+fn+"))()[" + length +"-1]", ""+lastElement);
|
array-indexing.js | 29 shouldBe('a.length', '0'); 30 shouldBe('a["-5"]', 'a[-5]'); 34 shouldBe('a[4]', 'undefined');
|
array-sort-small-sparse-array-with-large-length.js | 38 shouldBe("result", "\"42\""); 39 shouldBe("array.length", "10000001"); 40 shouldBe("array[0]", "42");
|
date-DST-pre-1970.js | 28 shouldBe("(new Date(1970, 0, 1)).getHours()", "0"); 29 shouldBe("(new Date(1969, 8, 1)).getHours()", "0"); 30 shouldBe("(new Date(1969, 9, 28)).getHours()", "0");
|
date-daysfrom1970-overflow.js | 27 shouldBe('d.getTime()', 'NaN'); 29 shouldBe('Date.UTC(1970, 0, 1, 0, 0, 0, 0)', '0'); 32 shouldBe('d.getTime()', 'NaN');
|
delete-then-put.js | 41 shouldBe("props(a)", "'a,b,c,d,e'"); 44 shouldBe("props(a)", "'a,b,d,e'"); 47 shouldBe("props(a)", "'a,b,d,e,c'");
|
dfg-ensure-array-storage-on-string.js | 37 shouldBe("foo(array)", "6"); 42 shouldBe("foo(array)", "10"); 44 shouldBe("foo(\"hello\")", "\"0hello\"");
|
dfg-ensure-array-storage-on-window.js | 37 shouldBe("foo(array)", "6"); 42 shouldBe("foo(array)", "10"); 47 shouldBe("foo(w)", "1");
|
dfg-ensure-contiguous-on-string.js | 37 shouldBe("foo(array)", "6"); 41 shouldBe("foo(array)", "4"); 43 shouldBe("foo(\"hello\")", "\"0hello\"");
|
dfg-put-by-id-prototype-check.js | 47 shouldBe("stuff", "" + i); 48 shouldBe("o.f", "" + (void 0)); 50 shouldBe("o.f", "" + i);
|
dfg-value-to-int32-with-side-effect.js | 36 shouldBe("result.length", "2"); 37 shouldBe("result[0]", "5"); 40 shouldBe("counter", "100");
|
function-declarations-in-switch-statement.js | 45 shouldBe(t(1), '20'); 46 shouldBe(t(2), '20'); 47 shouldBe(t(3), '20');
|
regexp-divequal.js | 26 shouldBe("/=/.toString()", "'/=/'"); 29 shouldBe("'='.match(/=/)", "['=']"); 30 shouldBe("'='.match(/\\=/)", "['=']");
|
regexp-extended-characters-more.js | 28 shouldBe('"foo\\xa0\\xa0\\xa0".replace(/\\xa0*/, "")', '"foo\\xa0\\xa0\\xa0"'); 29 shouldBe('"foo\\xa0\\xa0\\xa0".replace(/\\xa0+/, "")', '"foo"'); 30 shouldBe('"foo\\xa0\\xa0\\xa0".replace(/\\xa0*$/, "")', '"foo"');
|
resolve-arguments-from-scope.js | 41 shouldBe("foo(42)[0]", "42"); 42 shouldBe("foo(42).length", "1"); 43 shouldBe("foo(42, 23)[1]", "23");
|
string_replace.js | 28 shouldBe('"YY".replace(/Y{1,4}/g,"YYYY")', '"YYYY"'); 29 shouldBe('"MM".replace(/M{1,2}/g,"M")', '"M"'); 30 shouldBe('"YY".replace(/Y{1,4}/g,"MMMM")', '"MMMM"');
|
toString-recursion.js | 29 shouldBe("var array = []; array[0] = array; array + ''", "''"); 32 shouldBe("var error = new Error; error.name = error; error.message = error; error + ''", "''"); 35 shouldBe("var regexp = /a/; regexp.source = regexp; regexp + ''", "'/a/'");
|
typeof-constant-string.js | 140 shouldBe("complexIsUndefinedTest()", "'PASS'"); 156 shouldBe("complexIsBooleanTest()", "'PASS'"); 172 shouldBe("complexIsNumberTest()", "'PASS'"); 188 shouldBe("complexIsStringTest()", "'PASS'"); 205 shouldBe("complexIsObjectTest()", "'PASS'"); 221 shouldBe("complexIsFunctionTest()", "'PASS'"); 237 shouldBe("complexIsUndefinedStrictTest()", "'PASS'"); 253 shouldBe("complexIsBooleanStrictTest()", "'PASS'"); 269 shouldBe("complexIsNumberStrictTest()", "'PASS'"); 285 shouldBe("complexIsStringStrictTest()", "'PASS'") [all...] |
var-declarations-zero-width.js | 26 shouldBe("var x\u200c = 42; x\u200c", "42"); 27 shouldBe("var x\u200d = 43; x\u200d", "43"); 28 shouldBe("var x\u200c\u200d = 44; x\u200c\u200d", "44")
|
/external/chromium_org/v8/test/webkit/fast/js/ |
caller-property.js | 41 shouldBe('childHasCallerWhenExecutingGlobalCode', 'false'); 42 shouldBe('childHasCallerWhenCalledWithoutParent', 'false'); 43 shouldBe('childHasCallerWhenCalledFromWithinParent', 'true') 50 shouldBe("nonStrictCaller(nonStrictCallee)", "nonStrictCaller"); 58 shouldBe("nonStrictCaller(boundNonStrictCallee)", "nonStrictCaller"); 78 shouldBe("nonStrictGetter(nonStrictAccessor)", "nonStrictGetter");
|
object-extra-comma.js | 29 shouldBe("var foo = { 'bar' : 'YES' }; foo.bar", "'YES'"); 30 shouldBe("var foo = { 'bar' : 'YES', }; foo.bar", "'YES'"); 31 shouldBe("var foo = { 'bar' : 'YES' , }; foo.bar", "'YES'");
|
regexp-bol-with-multiline.js | 30 shouldBe('s.match(/^abc/m)', '["abc"]'); 32 shouldBe('s.match(/(^|X)abc/m)', '["abc",""]'); 33 shouldBe('s.match(/(^a|Xa)bc/m)', '["abc","a"]');
|
/external/chromium_org/v8/test/webkit/fast/regex/ |
overflow.js | 27 shouldBe("regexp1.exec('')", 'null'); 30 shouldBe("regexp2.exec('')", 'null'); 34 shouldBe("regexp3.exec(s3)", 'null');
|