Searched refs:assertSame (Results 1 - 25 of 678) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/regress/
H A Dregress-1624-strict.js38 assertSame(0, no_touch);
44 assertSame(0, no_touch);
50 assertSame(0, no_touch);
56 assertSame(4, no_touch);
64 assertSame(0, no_touch);
66 assertSame(0, no_touch);
74 assertSame(0, no_touch);
76 assertSame(0, no_touch);
84 assertSame(0, no_touch);
86 assertSame(
[all...]
H A Dregress-1624.js37 assertSame(0, no_touch);
43 assertSame(0, no_touch);
49 assertSame(3, no_touch);
55 assertSame(4, no_touch);
63 assertSame(0, no_touch);
65 assertSame(0, no_touch);
73 assertSame(0, no_touch);
75 assertSame(0, no_touch);
83 assertSame(7, no_touch);
85 assertSame(
[all...]
H A Dregress-410030.js8 assertSame(3, eval("delete x; const x=3; x"));
15 assertSame(3, (1,eval)("delete x1; const x1=3; x1"));
23 assertSame(3, eval("delete x2; const x2=3; x2"));
32 assertSame(3, eval("delete x; const x=3; x"));
41 assertSame(3, (1,eval)("delete x4; const x4=3; x4"));
H A Dregress-350887.js6 assertSame(0, arr.length);
7 assertSame(undefined, arr[0]);
10 assertSame(2501866688, arr.length);
11 assertSame(undefined, arr[0]);
H A Dregress-crbug-150545.js40 assertSame(3, arguments.length);
41 assertSame(1, arguments[0]);
42 assertSame(2, arguments[1]);
43 assertSame(3, arguments[2]);
H A Dregress-crbug-146910.js29 assertSame(0, x.length);
30 assertSame(undefined, x[0]);
33 assertSame(1, x.length);
34 assertSame(7, x[0]);
37 assertSame(1, x.length);
38 assertSame(7, x[0]);
H A Dregress-123512.js40 assertSame(1, f(1));
41 assertSame(2, f(2));
43 assertSame(3, f(3));
48 assertSame(4, f(4));
49 assertSame(5, f(5));
51 assertSame(6, f(6));
65 assertSame(3, g(1, 2));
66 assertSame(5, g(2, 3));
68 assertSame(7, g(3, 4));
74 assertSame(
[all...]
H A Dregress-2030.js47 assertSame(1, f(aa));
48 assertSame(1, f(aa));
49 assertSame(2, f(bb));
50 assertSame(2, f(bb));
52 assertSame(1, f(aa));
53 assertSame(2, f(bb));
H A Dregress-2539.js41 assertSame(2, arguments.length);
42 assertSame(10, arguments[0]);
43 assertSame(11, arguments[1]);
47 assertSame(2, arguments.length);
48 assertSame(10, arguments[0]);
49 assertSame(11, arguments[1]);
H A Dregress-1172.js36 assertSame(f, f.prototype.constructor);
39 assertSame(f, o.constructor);
H A Dregress-2565.js31 assertSame(p, o.__proto__);
32 assertSame(p, Object.getPrototypeOf(o));
H A Dregress-2931.js34 assertSame(100, u8.byteLength);
H A Dregress-4214.js6 with (o) assertSame(o, eval());
H A Dregress-1530.js38 assertSame(f.prototype, a);
39 assertSame(f.prototype.foo, 'bar');
40 assertSame(new f().foo, 'bar');
41 assertSame(Object.getPrototypeOf(new f()), a);
42 assertSame(Object.getOwnPropertyDescriptor(f, 'prototype').value, a);
50 assertSame(f.prototype, b);
51 assertSame(f.prototype.foo, 'baz');
52 assertSame(new f().foo, 'baz');
53 assertSame(Object.getPrototypeOf(new f()), b);
54 assertSame(Objec
[all...]
H A Dregress-crbug-157520.js36 assertSame(2, f(1));
/external/v8/test/mjsunit/es6/
H A Dclasses-subclass-arrays.js11 assertSame(Stack.prototype, s1.__proto__);
13 assertSame(0, s1.length);
15 assertSame(1, s1.length);
16 assertSame('xyz', s1[0]);
18 assertSame(2, s1.length);
19 assertSame('xyz', s1[0]);
20 assertSame(42, s1[1]);
25 assertSame(Stack.prototype, s2.__proto__);
27 assertSame(10, s2.length);
28 assertSame(undefine
[all...]
H A Ddestructuring-parameters-literalcount-nolazy.js17 assertSame(10, x.a);
18 assertSame(20, x.b);
19 assertSame(2, y[1]);
20 assertSame(0, n.length);
32 assertSame(10, x.a);
33 assertSame(20, x.b);
34 assertSame(2, y[1]);
35 assertSame(0, n.length);
H A Ddestructuring-parameters-literalcount.js17 assertSame(10, x.a);
18 assertSame(20, x.b);
19 assertSame(2, y[1]);
20 assertSame(0, n.length);
32 assertSame(10, x.a);
33 assertSame(20, x.b);
34 assertSame(2, y[1]);
35 assertSame(0, n.length);
/external/v8/test/mjsunit/compiler/
H A Dliterals-optimized.js45 assertSame(6, array.length);
46 assertSame(0, array[0]);
47 assertSame(a, array[1]);
48 assertSame(0, array[2]);
49 assertSame(b, array[3]);
50 assertSame(0, array[4]);
51 assertSame(c, array[5]);
61 assertSame(4, array.length);
62 assertSame(2, array[0].length);
63 assertSame(
[all...]
H A Dboolean-protototype.js10 assertSame(test1(false), Boolean.prototype.toString);
11 assertSame(test1(true), Boolean.prototype.toString);
13 assertSame(test1(false), Boolean.prototype.toString);
14 assertSame(test1(true), Boolean.prototype.toString);
19 assertSame(test2(false), Boolean.prototype.valueOf);
20 assertSame(test2(true), Boolean.prototype.valueOf);
22 assertSame(test2(false), Boolean.prototype.valueOf);
23 assertSame(test2(true), Boolean.prototype.valueOf);
/external/v8/test/mjsunit/es6/regress/
H A Dregress-2858.js18 assertSame(15, y);
20 assertSame(1, y);
21 assertSame(15, q1());
22 assertSame(15, q());
H A Dregress-2225.js31 assertSame('x', key);
38 assertSame(undefined, Object.prototype.__lookupGetter__.call(proxy, 'foo'));
39 assertSame(undefined, Object.prototype.__lookupSetter__.call(proxy, 'bar'));
40 assertSame(undefined, Object.prototype.__lookupGetter__.call(proxy, '123'));
41 assertSame(undefined, Object.prototype.__lookupSetter__.call(proxy, '456'));
45 assertSame(undefined, Object.prototype.__lookupGetter__.call(object, 'foo'));
46 assertSame(undefined, Object.prototype.__lookupSetter__.call(object, 'bar'));
47 assertSame(undefined, Object.prototype.__lookupGetter__.call(object, '123'));
48 assertSame(undefined, Object.prototype.__lookupSetter__.call(object, '456'));
56 assertSame(4
[all...]
H A Dregress-2219.js32 assertSame(23, o.x = 23);
/external/v8/test/mjsunit/bugs/
H A Dbug-proto.js34 assertSame(this, Realm.global(realmA));
35 assertSame(Realm.eval(realmB, "this"), Realm.global(realmB));
42 assertSame(undefined, Realm.eval(realmB, "this.x"));
43 assertSame(undefined, Realm.eval(realmB, "Realm.shared.x"));
47 assertSame(undefined, this.y);
53 assertSame(1, Realm.eval(realmB, "Realm.shared.a"));
54 assertSame(2, Realm.eval(realmB, "Realm.shared.b"));
57 assertSame(undefined, Realm.eval(realmB, "Realm.shared.__proto__"));
60 assertSame(1, o.a);
61 assertSame(undefine
[all...]
/external/v8/test/mjsunit/
H A Dget-own-property-descriptor-non-objects.js31 assertSame(undefined, Object.getOwnPropertyDescriptor(42, 'x'));
32 assertSame(undefined, Object.getOwnPropertyDescriptor(true, 'x'));
33 assertSame(undefined, Object.getOwnPropertyDescriptor(false, 'x'));
34 assertSame(undefined, Object.getOwnPropertyDescriptor(Symbol(), 'x'));

Completed in 1170 milliseconds

1234567891011>>