Searched defs:getPrototypeOf (Results 1 - 5 of 5) sorted by relevance

/external/v8/test/mjsunit/es6/
H A Dinstanceof-proxies.js21 getPrototypeOf: function(target) { return Array.prototype; }
30 handler.getPrototypeOf = function(target) {
48 handler.getPrototypeOf = function(target) { return Array.prototype; }
60 var proxy2 = new Proxy({}, {getPrototypeOf() { return proxy2 }});
H A Dproxies-get-prototype-of.js10 assertSame(Object.getPrototypeOf(proxy), target.__proto__ );
13 assertSame(Object.getPrototypeOf(proxy), target.__proto__);
15 handler.getPrototypeOf = function() {
18 assertThrows(function() { Object.getPrototypeOf(proxy) }, TypeError);
21 handler.getPrototypeOf = function() {
24 assertSame(Object.getPrototypeOf(proxy), target_prototype);
28 assertSame(Object.getPrototypeOf(proxy2), target_prototype);
33 getPrototypeOf: function() { return proxy3_prototype }
36 assertSame(Object.getPrototypeOf(proxy3), proxy3_prototype);
50 handler.getPrototypeOf
[all...]
H A Dproxies-set-prototype-of.js10 assertSame(Object.getPrototypeOf(proxy), target.__proto__ );
18 assertSame(prototype, Object.getPrototypeOf(proxy));
19 assertSame(prototype, Object.getPrototypeOf(target));
23 assertSame(prototype, Object.getPrototypeOf(pair.proxy));
63 assertSame(Object.getPrototypeOf(proxy2), target.__proto__ );
67 assertSame(prototype, Object.getPrototypeOf(proxy2));
68 assertSame(prototype, Object.getPrototypeOf(target));
84 assertSame(prototype, Reflect.getPrototypeOf(target));
92 assertSame(prototype, Reflect.getPrototypeOf(target));
96 handler.getPrototypeOf
[all...]
H A Dproxies-for.js179 handler.getPrototypeOf = function(target) {
208 handler.getPrototypeOf = function() { throw "error" };
/external/v8/test/mjsunit/regress/
H A Dregress-578775.js15 __v_2.getPrototypeOf = function () { return __v_9 };

Completed in 157 milliseconds