Home | History | Annotate | Download | only in harmony

Lines Matching defs:target

26 var target = function(a, b, c) { "use strict"; return this };
27 var proxy = new Proxy(target, handler);
33 assertEquals(target.__proto__, result.__proto__);
36 for (var i in log) assertSame(target, log[i][1]);
37 assertEquals(["getPrototypeOf", target], log[0]);
38 assertEquals(["getOwnPropertyDescriptor", target, "length"], log[1]);
39 assertEquals(["get", target, "length", proxy], log[2]);
40 assertEquals(["get", target, "name", proxy], log[3]);
41 assertEquals(["apply", target, this_value, ["foo"]], log[4]);
42 assertEquals(new target(), new result());
48 target.__proto__ = {radio: "gaga"};
51 assertSame(target.__proto__, result.__proto__);
54 for (var i in log) assertSame(target, log[i][1]);
55 assertEquals(["getPrototypeOf", target], log[0]);
56 assertEquals(["getOwnPropertyDescriptor", target, "length"], log[1]);
57 assertEquals(["get", target, "length", proxy], log[2]);
58 assertEquals(["get", target, "name", proxy], log[3]);
59 assertEquals(["apply", target, this_value, ["foo"]], log[4]);
68 proxy = new Proxy(target, handler);
81 proxy = new Proxy(target, handler);
94 proxy = new Proxy(target, handler);
107 proxy = new Proxy(target, handler);
120 proxy = new Proxy(target, handler);