Home
last modified time | relevance | path

Searched refs:__proto__ (Results 1 – 25 of 173) sorted by relevance

1234567

/external/v8/test/webkit/fast/js/kde/
Dinbuilt_function_proto-expected.txt29 PASS Object.prototype.toString.__proto__ is Function.prototype
30 PASS Object.prototype.valueOf.__proto__ is Function.prototype
31 PASS Array.prototype.toString.__proto__ is Function.prototype
32 PASS Array.prototype.toLocaleString.__proto__ is Function.prototype
33 PASS Array.prototype.concat.__proto__ is Function.prototype
34 PASS Array.prototype.join.__proto__ is Function.prototype
35 PASS Array.prototype.pop.__proto__ is Function.prototype
36 PASS Array.prototype.push.__proto__ is Function.prototype
37 PASS Array.prototype.reverse.__proto__ is Function.prototype
38 PASS Array.prototype.shift.__proto__ is Function.prototype
[all …]
Dprototype_proto-expected.txt29 PASS Object.prototype.__proto__ == Object.prototype is false
30 PASS Function.prototype.__proto__ is Object.prototype
31 PASS Array.prototype.__proto__ is Object.prototype
32 PASS String.prototype.__proto__ is Object.prototype
33 PASS Boolean.prototype.__proto__ is Object.prototype
34 PASS Number.prototype.__proto__ is Object.prototype
35 PASS Date.prototype.__proto__ is Object.prototype
36 PASS RegExp.prototype.__proto__ is Object.prototype
37 PASS Error.prototype.__proto__ is Object.prototype
/external/v8/test/mjsunit/regress/
Dregress-deep-proto.js35 three.__proto__ = {};
36 three.__proto__.__proto__ = {};
37 three.__proto__.__proto__.__proto__ = {};
38 three.__proto__.__proto__.__proto__.__proto__ = {};
39 three.__proto__.__proto__.__proto__.__proto__.__proto__ = {};
Dregress-1199637.js37 %AddNamedProperty(this.__proto__, "a", 1234, NONE);
42 %AddNamedProperty(this.__proto__, "b", 1234, NONE);
47 %AddNamedProperty(this.__proto__, "c", 1234, READ_ONLY);
52 %AddNamedProperty(this.__proto__, "d", 1234, READ_ONLY);
58 %AddNamedProperty(this.__proto__, "x", 1234, NONE);
63 %AddNamedProperty(this.__proto__, "y", 1234, NONE);
68 %AddNamedProperty(this.__proto__, "z", 1234, READ_ONLY);
73 %AddNamedProperty(this.__proto__, "w", 1234, READ_ONLY);
Dregress-crbug-323942.js35 receiver.__proto__ = { };
36 receiver.__proto__.__proto__ = holder;
48 receiver.__proto__.__proto__ = {};
56 receiver.__proto__.__proto__ = holder;
Dregress-1403.js31 Object.prototype.__proto__ = { __proto__: null }; property
35 Array.prototype.__proto__ = { __proto__: null }; method in Array
Dregress-3462.js8 var o = {__proto__: f}; property
19 Number.prototype.__proto__ = f; method in Number
32 var o = {__proto__: a}; property
42 Number.prototype.__proto__ = [1]; method in Number
Dregress-1170.js70 __proto__.__defineSetter__("aa", function(v) { assertUnreachable(); });
74 __proto__.__defineSetter__("bb", function(v) { assertUnreachable(); });
80 __proto__.__defineSetter__("cc", function(v) { assertUnreachable(); });
84 __proto__.__defineSetter__("dd", function(v) { assertUnreachable(); });
Dregress-1151.js31 __defineSetter__.__proto__ = function() {}; function
34 eval.__proto__ = function () { };
42 __defineGetter__.__proto__ = f;
/external/v8/test/webkit/
Dprototypes-expected.txt29 PASS ('').__proto__ is String.prototype
30 PASS (0).__proto__ is Number.prototype
31 PASS ([]).__proto__ is Array.prototype
32 PASS ({}).__proto__ is Object.prototype
33 PASS (new Date).__proto__ is Date.prototype
34 PASS (new Number).__proto__ is Number.prototype
35 PASS (new Object).__proto__ is Object.prototype
36 PASS (new String).__proto__ is String.prototype
37 PASS Array.prototype.__proto__ is Object.prototype
38 PASS Date.prototype.__proto__ is Object.prototype
[all …]
Dfor-in-cached.js42 var o = { x: 1, __proto__: null }; property
52 var o = { x: 1, __proto__: proto }; property
57 forIn3({ __proto__: { y1: 2 } }); property
58 forIn3({ __proto__: { y1: 2 } }); property
61 forIn3({ y2 : 2, __proto__: null }); property
62 forIn3({ y2 : 2, __proto__: null }); property
65 forIn3({ __proto__: { __proto__: { y3 : 2 } } }); property
66 forIn3({ __proto__: { __proto__: { y3 : 2 } } }); property
76 objectWithArrayAsProto.__proto__ = [];
78 objectWithArrayAsProto.__proto__[0]=1;
Dobject-literal-direct-put-expected.txt30 PASS ({__proto__: {a:false}, a:true}).a is true
31 PASS ({__proto__: {set a(v) {throw 'Should not call setter'; }}, a:true}).a is true
32 PASS ({__proto__: {get a() {throw 'Should not reach getter'; }}, a:true}).a is true
33 PASS ({__proto__: {get a() {throw 'Should not reach getter'; }, b:true}, a:true}).b is true
34 PASS ({__proto__: {__proto__: {a:false}}, a:true}).a is true
35 PASS ({__proto__: {__proto__: {set a(v) {throw 'Should not call setter'; }}}, a:true}).a is true
36 PASS ({__proto__: {__proto__: {get a() {throw 'Should not reach getter'; }}}, a:true}).a is true
37 PASS ({__proto__: {__proto__: {get a() {throw 'Should not reach getter'; }, b:true}}, a:true}).b is…
Dcyclic-prototypes.js28 o2.__proto__ = o1;
30 o3.__proto__ = o2;
36 o1.__proto__ = null;
39 o1.__proto__ = o3;
Ddictionary-prototype-caching.js31 var o = { __proto__: proto }; property
49 var o = { __proto__: proto }; property
67 var o = { __proto__: proto }; property
85 var subclass1 = { __proto__: proto }; property
86 var subclass2 = { __proto__: proto }; property
/external/v8/test/mjsunit/
Djson2.js57 num_wrapper.__proto__ = { __proto__: null, property
62 str_wrapper.__proto__ = { __proto__: null, property
67 bool_wrapper.__proto__ = { __proto__: null, property
92 tojson_proto_obj.__proto__ = { toJSON: function() {
130 fast_smi.__proto__ = [7, 7, 7, 7];
136 fast_double.__proto__ = [7, 7, 7, 7];
143 fast_obj.__proto__ = [7, 7, 7, 7];
Dgetters-on-elements.js95 a.__proto__ = ap;
111 a.__proto__ = ap2;
119 ap2.__proto__ = ap; // "sneak" in a callback.
135 a.__proto__ = ap2;
143 ap2.__proto__ = ap;
154 a.__proto__ = ap2;
202 a.__proto__ = [];
209 ap.__proto__ = a.__proto__;
210 a.__proto__ = ap;
Darray-push4.js9 my_array_proto.__proto__ = [].__proto__;
18 array.__proto__ = my_array_proto;
31 array.__proto__ = my_array_proto;
46 array.__proto__ = my_array_proto;
56 array.__proto__ = my_array_proto;
Dsetters-on-elements.js88 a.__proto__ = ap;
103 a.__proto__ = apap;
122 a.__proto__ = ap2;
130 ap2.__proto__ = ap; // "sneak" in a callback.
146 a.__proto__ = ap2;
154 ap2.__proto__ = ap;
165 a.__proto__ = ap2;
Dsetter-on-constructor-prototype.js50 C2.prototype.__proto__ = { set x(value) { this.y = 23; } }; method in C2
52 %ToFastProperties(C2.prototype.__proto__)
82 C4.prototype.__proto__ = { }; method in C4
83 C4.prototype.__proto__.__defineSetter__('x', function(value) { this.y = 23; }); method in C4
85 %ToFastProperties(C4.prototype.__proto__);
Djson.js46 assertTrue(Object.prototype === JSON.__proto__);
294 b.__proto__ = { toJSON : function() { return 321;} };
435 oddball.__proto__ = { __proto__: null, toString: function() { return true; } }; property
452 oddball3.__proto__ = { __proto__: null, property
455 oddball2.__proto__ = { __proto__: null, property
461 falseNum.__proto__ = Number.prototype;
467 assertEquals([], o1.__proto__);
476 assertEquals(5, o2.__proto__);
Dproto-accessor.js45 assertEquals(obj.__proto__, obj2);
57 assertEquals({}.__proto__, 42);
80 o.__proto__ = p;
134 assertTrue(delete Object.prototype.__proto__);
137 o.__proto__ = p;
Dgetter-in-prototype.js36 o.__proto__ = p;
52 __proto__ = p;
67 __proto__ = p;
Dfunction-prototype.js36 assertEquals(Object.prototype, f.__proto__);
47 assertEquals(f.__proto__, F.prototype);
50 assertEquals(Object.prototype, f.__proto__);
55 assertEquals(f.__proto__, F.prototype);
/external/v8/test/mjsunit/compiler/
Dconcurrent-proto-change.js39 o.__proto__ = { __proto__: { bar: function() { return 1; } } }; property
49 o.__proto__.__proto__ = { bar: function() { return 2; } };
/external/v8/test/mjsunit/es6/
Dcollection-iterator.js13 var SetIteratorPrototype = iter.__proto__;
15 assertEquals(SetIteratorPrototype.__proto__, Object.prototype);
20 assertEquals(new Set().values().__proto__, SetIteratorPrototype);
21 assertEquals(new Set().entries().__proto__, SetIteratorPrototype);
113 var MapIteratorPrototype = iter.__proto__;
115 assertEquals(MapIteratorPrototype.__proto__, Object.prototype);
120 assertEquals(new Map().values().__proto__, MapIteratorPrototype);
121 assertEquals(new Map().keys().__proto__, MapIteratorPrototype);
122 assertEquals(new Map().entries().__proto__, MapIteratorPrototype);

1234567