Lines Matching full:reflect
7 assertEquals(3, Reflect.apply.length);
13 new Reflect.apply(function(){}, null, []);
22 assertSame(this, Reflect.apply(returnThis, void 0, []));
23 assertSame(this, Reflect.apply(returnThis, null, []));
24 assertSame(this, Reflect.apply(returnThis, this, []));
25 assertSame(receiver, Reflect.apply(returnThis, receiver, []));
29 Object.getPrototypeOf(Reflect.apply(returnThis, "str", [])));
31 Object.getPrototypeOf(Reflect.apply(returnThis, 123, [])));
33 Object.getPrototypeOf(Reflect.apply(returnThis, true, [])));
36 Reflect.apply(returnThis, Symbol("test"), [])));
44 assertSame(void 0, Reflect.apply(returnThis, void 0, []));
45 assertSame(this, Reflect.apply(returnThis, this, []));
46 assertSame(receiver, Reflect.apply(returnThis, receiver, []));
51 assertSame("str", Reflect.apply(returnThis, "str", []));
52 assertSame(123, Reflect.apply(returnThis, 123, []));
53 assertSame(true, Reflect.apply(returnThis, true, []));
54 assertSame(regexp, Reflect.apply(returnThis, regexp, []));
55 assertSame(symbol, Reflect.apply(returnThis, symbol, []));
63 assertEquals(0, Reflect.apply(returnLengthStrict, this, []));
64 assertEquals(0, Reflect.apply(returnLengthSloppy, this, []));
65 assertEquals(0, Reflect.apply(returnLengthStrict, this, {}));
66 assertEquals(0, Reflect.apply(returnLengthSloppy, this, {}));
69 assertEquals(i, Reflect.apply(returnLengthStrict, this, new Array(i)));
70 assertEquals(i, Reflect.apply(returnLengthSloppy, this, new Array(i)));
71 assertEquals(i, Reflect.apply(returnLengthStrict, this, { length: i }));
72 assertEquals(i, Reflect.apply(returnLengthSloppy, this, { length: i }));
88 Reflect.apply(noopStrict, this, argsList);
92 Reflect.apply(noopSloppy, this, argsList);
108 Reflect.apply(noopStrict, this, argsList);
112 Reflect.apply(noopSloppy, this, argsList);
119 assertThrows(function() { Reflect.apply(void 0); }, TypeError);
120 assertThrows(function() { Reflect.apply(null); }, TypeError);
121 assertThrows(function() { Reflect.apply(123); }, TypeError);
122 assertThrows(function() { Reflect.apply("str"); }, TypeError);
123 assertThrows(function() { Reflect.apply(Symbol("x")); }, TypeError);
124 assertThrows(function() { Reflect.apply(/123/); }, TypeError);
125 assertThrows(function() { Reflect.apply(NaN); }, TypeError);
126 assertThrows(function() { Reflect.apply({}); }, TypeError);
127 assertThrows(function() { Reflect.apply([]); }, TypeError);
132 assertThrows(function() { Reflect.apply(void 0); }, TypeError);
133 assertThrows(function() { Reflect.apply(null); }, TypeError);
134 assertThrows(function() { Reflect.apply(123); }, TypeError);
135 assertThrows(function() { Reflect.apply("str"); }, TypeError);
136 assertThrows(function() { Reflect.apply(Symbol("x")); }, TypeError);
137 assertThrows(function() { Reflect.apply(/123/); }, TypeError);
138 assertThrows(function() { Reflect.apply(NaN); }, TypeError);
139 assertThrows(function() { Reflect.apply({}); }, TypeError);
140 assertThrows(function() { Reflect.apply([]); }, TypeError);
148 assertThrows(function() { Reflect.apply(noopStrict, R, null); }, TypeError);
149 assertThrows(function() { Reflect.apply(noopSloppy, R, null); }, TypeError);
150 assertThrows(function() { Reflect.apply(noopStrict, R, 1); }, TypeError);
151 assertThrows(function() { Reflect.apply(noopSloppy, R, 1); }, TypeError);
152 assertThrows(function() { Reflect.apply(noopStrict, R, "BAD"); }, TypeError);
153 assertThrows(function() { Reflect.apply(noopSloppy, R, "BAD"); }, TypeError);
154 assertThrows(function() { Reflect.apply(noopStrict, R, true); }, TypeError);
155 assertThrows(function() { Reflect.apply(noopSloppy, R, true); }, TypeError);
157 assertThrows(function() { Reflect.apply(noopStrict, R, sym); }, TypeError);
158 assertThrows(function() { Reflect.apply(noopSloppy, R, sym); }, TypeError);
184 assertEquals("OK!", Reflect.apply(returnFirstStrict, this, ["OK!"]));
185 assertEquals("OK!", Reflect.apply(returnFirstSloppy, this, ["OK!"]));
186 assertEquals("OK!", Reflect.apply(returnFirstStrict, this,
188 assertEquals("OK!", Reflect.apply(returnFirstSloppy, this,
190 assertEquals("OK!", Reflect.apply(returnLastStrict, this,
192 assertEquals("OK!", Reflect.apply(returnLastSloppy, this,
194 assertEquals("OK!", Reflect.apply(returnLastStrict, this,
196 assertEquals("OK!", Reflect.apply(returnLastSloppy, this,
198 assertEquals("TEST", Reflect.apply(returnSumStrict, this,
200 assertEquals("TEST!!", Reflect.apply(returnSumStrict, this,
202 assertEquals(10, Reflect.apply(returnSumStrict, this,
204 assertEquals("TEST", Reflect.apply(returnSumSloppy, this,
206 assertEquals("TEST!!", Reflect.apply(returnSumSloppy, this,
208 assertEquals(10, Reflect.apply(returnSumSloppy, this,