/external/v8/test/webkit/ |
dfg-branch-not-fail.js | 49 shouldBe("foo({f:True})", "1"); 50 shouldBe("foo({f:False})", "0"); 51 shouldBe("bar({f:True})", "0"); 52 shouldBe("bar({f:False})", "1");
|
dfg-inline-constant.js | 41 shouldBe("bar(6, 0)", "10"); 42 shouldBe("bar(6, 1)", "15"); 43 shouldBe("bar(6, false)", "10"); 44 shouldBe("bar(6, true)", "15");
|
dfg-inline-new-array-buffer.js | 41 shouldBe("bar()[0]", "1") 42 shouldBe("bar()[1]", "2") 43 shouldBe("bar()[2]", "3") 44 shouldBe("bar()[3]", "4")
|
dfg-uint32-to-number.js | 37 shouldBe("result", "124500"); 39 shouldBe("foo({f:2147483648}, {f:32})", "2147483648"); 40 shouldBe("foo({f:2147483648}, {f:31})", "1"); 41 shouldBe("foo({f:2147483648}, {f:30})", "2");
|
polymorphic-construct.js | 45 shouldBe("construct(Foo).field", "'foo'"); 49 shouldBe("construct(Foo).field", "'foo'"); 50 shouldBe("construct(Bar).field", "'bar'"); 51 shouldBe("construct(Baz).field", "'baz'");
|
primitive-method-this.js | 35 shouldBe("(1).thisType()", "'object'"); 36 shouldBe("(2.3).thisType()", "'object'"); 37 shouldBe("'xxx'.thisType()", "'object'"); 38 shouldBe("(false).thisType()", "'object'");
|
vardecl-blocks-init.js | 74 shouldBe("catchTest()", "'foo'"); 75 shouldBe("catchTest2()", "'baz'"); 76 shouldBe("withTest()", "'foo'"); 77 shouldBe("withTest2()", "'baz'");
|
function-declarations-in-switch-statement-expected.txt | 24 WARN: shouldBe() expects string arguments 26 WARN: shouldBe() expects string arguments 28 WARN: shouldBe() expects string arguments
|
Object-defineProperties.js | 29 shouldBe("JSON.stringify(Object.defineProperties({},{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\''); 30 shouldBe("JSON.stringify(Object.defineProperties({},{property:{value:'foo'}, property2:{value:'foo', enumerable:true}}))", '\'{"property2":"foo"}\''); 31 shouldBe("JSON.stringify(Object.defineProperties({property:'foo'},{property:{value:'foo', enumerable:true}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\''); 32 shouldBe("JSON.stringify(Object.defineProperties({property:'foo'},{property:{value:'foo', enumerable:false}, property2:{value:'foo', enumerable:true}}))", '\'{"property2":"foo"}\''); 33 shouldBe("JSON.stringify(Object.defineProperties({property:'foo'},{property:{value:'foo'}, property2:{value:'foo', enumerable:true}}))", '\'{"property":"foo","property2":"foo"}\'');
|
continue-break-multiple-labels.js | 43 shouldBe("test1()", "'12356789'"); 60 shouldBe("test2()", "'123'"); 79 shouldBe("test3()", "10"); 94 shouldBe("test4()", "1"); 111 shouldBe("test5()", "1");
|
dfg-inline-function-dot-caller.js | 64 shouldBe("resultArray.length", "4"); 65 shouldBe("resultArray[3]", "\"g\""); 66 shouldBe("resultArray[2]", "\"makeInlinableCall\""); 67 shouldBe("resultArray[1]", "\"inlineable\""); 68 shouldBe("resultArray[0]", "\"nonInlineable\"");
|
get-by-pname-non-final-object.js | 67 shouldBe("foo(o)", "11"); 68 shouldBe("foo(p)", "10"); 69 shouldBe("foo(q)", "3467"); 70 shouldBe("foo(r)", "113"); 71 shouldBe("foo(s)", "182");
|
get-by-pname.js | 42 shouldBe("foo(o)", "11"); 43 shouldBe("foo(p)", "10"); 44 shouldBe("foo(q)", "3467"); 45 shouldBe("foo(r)", "113"); 46 shouldBe("foo(s)", "182");
|
mod-crash.js | 28 shouldBe("2 % 0", "NaN"); 31 shouldBe("n % 0", "NaN"); 38 shouldBe("f()", "NaN"); 46 shouldBe("g()", "NaN"); 62 shouldBe("nonSpeculativeModReuse(0.5)", "1");
|
toString-for-var-decl.js | 35 shouldBe("unevalf(eval(unevalf(f1)))", "unevalf(f1)"); 36 shouldBe("unevalf(eval(unevalf(f2)))", "unevalf(f2)"); 37 shouldBe("unevalf(eval(unevalf(f3)))", "unevalf(f3)"); 38 shouldBe("unevalf(eval(unevalf(f4)))", "unevalf(f4)"); 39 shouldBe("unevalf(f2) != unevalf(f3)", "true");
|
class-syntax-super.js | 56 shouldBe('(new Derived).callBaseMethod()', 'baseMethodValue'); 57 shouldBe('x = (new Derived).callBaseMethod; x()', 'baseMethodValue'); 58 shouldBe('(new Derived).callBaseMethodInGetter', 'baseMethodValue'); 59 shouldBe('(new Derived).callBaseMethodInSetter = 1; valueInSetter', 'baseMethodValue'); 60 shouldBe('(new Derived).baseMethodInGetterSetter', '(new Base).baseMethod'); 61 shouldBe('(new Derived).baseMethodInGetterSetter = 1; valueInSetter', '(new Base).baseMethod'); 62 shouldBe('Derived.staticMethod()', '"base3"'); 63 shouldBe('(new SecondDerived).chainMethod()', '["base", "derived", "secondDerived"]'); 78 shouldBe('x = { }; new (class extends Base { constructor() { return x } });', 'x'); 84 shouldBe('x = { }; new (class extends null { constructor() { return x } });', 'x') [all...] |
preventExtensions.js | 87 shouldBe('test(obj())', '"(b:4)(c:3)E"'); // extensible, can delete a, can modify b, and can add c 88 shouldBe('test(preventExtensions(obj()))', '"(b:4)"'); // <nothing>, can delete a, can modify b, and CANNOT add c 89 shouldBe('test(seal(obj()))', '"(a:1)(b:4)S"'); // sealed, CANNOT delete a, can modify b, and CANNOT add c 90 shouldBe('test(freeze(obj()))', '"(a:1)(b:2)SF"'); // sealed and frozen, CANNOT delete a, CANNOT modify b, and CANNOT add c 93 shouldBe('Object.preventExtensions(Math.sin)', 'Math.sin'); 99 shouldBe('Object.preventExtensions(Math); Math.sqrt(4)', '2'); 103 shouldBe('var arr = Object.preventExtensions([]); arr[0] = 42; arr.length', '0'); 113 shouldBe('obj.foo', '1'); 133 shouldBe('array[0]', '0'); 140 shouldBe('args[0]', '0') [all...] |
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');
|
/external/v8/test/webkit/fast/js/ |
Promise-static-cast.js | 36 shouldBe('promise', 'value'); 44 shouldBe('result2', '42'); 55 shouldBe('result', 'undefined'); 56 shouldBe('result2', 'undefined');
|
exception-properties.js | 41 shouldBe('enumerableProperties(error)', '[]'); 42 shouldBe('enumerableProperties(nativeError)', '["stack", "line", "sourceURL"]'); 44 shouldBe('Object.getPrototypeOf(nativeError).name', '"RangeError"'); 45 shouldBe('Object.getPrototypeOf(nativeError).message', '""');
|
object-prototype-toLocaleString.js | 29 shouldBe("o.toLocaleString()", "o.toString()"); 31 shouldBe("o.toLocaleString()", '"Dynamic toLocaleString()"'); 33 shouldBe("Object.prototype.toLocaleString.call('Hello, world!')", '"Hello, world!"'); 37 shouldBe("Object.prototype.toLocaleString.call('Hello, world!')", '"stringPrototypeToString"');
|
/external/v8/test/webkit/fast/regex/ |
quantified-assertions.js | 33 shouldBe("regexp.lastIndex", "0"); 38 shouldBe("regexp.lastIndex", "0"); 43 shouldBe("regexp.lastIndex", "0"); 48 shouldBe("regexp.lastIndex", "0");
|
/external/v8/test/webkit/fast/js/kde/ |
delete.js | 25 shouldBe("a = 1; delete a;", "true"); 26 shouldBe("delete nonexistant;", "true"); 27 shouldBe("delete NaN", "false");
|