Home | History | Annotate | Download | only in mjsunit

Lines Matching full:receiver

77 // Check that the debugger correctly reflects that the receiver is not
80 function TestStrict(receiver) {
81 expected_receiver = receiver;
82 Strict.call(receiver);
86 var receiver = exec_state.frame().receiver();
87 assertTrue(!receiver.isObject());
88 assertEquals(expected_receiver, receiver.value())
100 // the receiver for non-strict mode functions.
102 function TestNonStrict(receiver) {
105 expected_receiver = (receiver == null) ? this : Object(receiver);
106 NonStrict.call(receiver);
110 var receiver = exec_state.frame().receiver();
111 assertTrue(receiver.isObject());
112 assertEquals(expected_receiver, receiver.value());