Home | History | Annotate | Download | only in mjsunit

Lines Matching full:line

89     testArguments(dcp, '{"type":"function","target":"f","line":-1}', false);
99 testArguments(dcp, '{"type":"function","target":"f","line":1}', true, false);
108 testArguments(dcp, '{"type":"script","target":"test","line":1}', true, true);
111 testArguments(dcp, '{"type":"scriptId","target":' + f_script_id + ',"line":' + f_line + '}', true, false);
112 testArguments(dcp, '{"type":"scriptId","target":' + g_script_id + ',"line":' + g_line + '}', true, false);
113 testArguments(dcp, '{"type":"scriptId","target":' + h_script_id + ',"line":' + h_line + '}', true, false);
120 testArguments(dcp, '{"type":"script","target":"sourceUrlScript","line":0}', true, true);
122 // Set a break point on a line with the comment, and check that actual position
123 // is the next line after the comment.
124 request = '{"type":"scriptId","target":' + g_script_id + ',"line":' + (g_line + 1) + '}';
126 assertEquals(g_line + 2, response.body.actual_locations[0].line);
165 // Get the source line for the test functions.
166 f_line = Debug.findFunctionSourceLocation(f).line;
167 g_line = Debug.findFunctionSourceLocation(g).line;
168 h_line = Debug.findFunctionSourceLocation(h).line;
169 assertTrue(f_line > 0, "invalid line for f");
170 assertTrue(g_line > 0, "invalid line for g");
172 assertEquals(h_line, 0, "invalid line for h");
203 // Gets a script of 'i1' function and sets the breakpoint at line #4 which