Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:function

32 // Simple function which stores the last debug event.
43 function safeEval(code) {
52 function testArguments(dcp, arguments, success, is_script) {
69 function listener(event, exec_state, event_data, data) {
84 testArguments(dcp, '{"type":"function"}', false);
88 testArguments(dcp, '{"type":"function","target":1}', false);
89 testArguments(dcp, '{"type":"function","target":"f","line":-1}', false);
90 testArguments(dcp, '{"type":"function","target":"f","column":-1}', false);
91 testArguments(dcp, '{"type":"function","target":"f","ignoreCount":-1}', false);
97 testArguments(dcp, '{"type":"function","target":"f"}', true, false);
98 testArguments(dcp, '{"type":"function","target":"h"}', true, false);
99 testArguments(dcp, '{"type":"function","target":"f","line":1}', true, false);
100 testArguments(dcp, '{"type":"function","target":"f","position":1}', true, false);
101 testArguments(dcp, '{"type":"function","target":"f","condition":"i == 1"}', true, false);
102 testArguments(dcp, '{"type":"function","target":"f","enabled":true}', true, false);
103 testArguments(dcp, '{"type":"function","target":"f","enabled":false}', true, false);
104 testArguments(dcp, '{"type":"function","target":"f","ignoreCount":7}', true, false);
139 function f() {
143 function g() {
148 eval('function h(){}');
149 eval('function sourceUrlFunc() { a = 2; }\n//# sourceURL=sourceUrlScript');
151 o = {a:function(){},b:function(){}}
185 function breakListener(event) {
203 // Gets a script of 'i1' function and sets the breakpoint at line #4 which
205 function SetBreakpointInI1Script() {
213 // The tricky part is that the script function must be strongly reachable at the
214 // moment. Since there's no way of simply getting the pointer to the function,
215 // we run this code while the script function is being activated on stack.