Home | History | Annotate | Download | only in regress

Lines Matching defs:proxy

31 var proxy = Proxy.create({ getPropertyDescriptor:function(key) {
38 // Test __lookupGetter__/__lookupSetter__ with proxy.
39 assertSame(undefined, Object.prototype.__lookupGetter__.call(proxy, 'foo'));
40 assertSame(undefined, Object.prototype.__lookupSetter__.call(proxy, 'bar'));
41 assertSame(undefined, Object.prototype.__lookupGetter__.call(proxy, '123'));
42 assertSame(undefined, Object.prototype.__lookupSetter__.call(proxy, '456'));
44 // Test __lookupGetter__/__lookupSetter__ with proxy in prototype chain.
45 var object = Object.create(proxy);
51 // Test inline constructors with proxy as prototype.
53 f.prototype = proxy;
59 // Test inline constructors with proxy in prototype chain.
61 g.prototype.__proto__ = proxy;