OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
4 <script src="../../../http/tests/inspector/debugger-test.js"></script> | 4 <script src="../../../http/tests/inspector/debugger-test.js"></script> |
5 <script src="../debugger/resources/framework.js"></script> | 5 <script src="../debugger/resources/framework.js"></script> |
6 <script> | 6 <script> |
7 | 7 |
8 function testFunction() | 8 function testFunction() |
9 { | 9 { |
10 for (var i = 1, func; func = eval("typeof test" + i + " === 'function' && te
st" + i); ++i) | 10 for (var i = 1, func; func = eval("typeof test" + i + " === 'function' && te
st" + i); ++i) |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 function test3() | 31 function test3() |
32 { | 32 { |
33 debugger; | 33 debugger; |
34 Framework.safeRun(Framework.empty, callback); // Should step into callback | 34 Framework.safeRun(Framework.empty, callback); // Should step into callback |
35 } | 35 } |
36 | 36 |
37 function test4() | 37 function test4() |
38 { | 38 { |
39 debugger; | 39 debugger; |
40 Framework.safeRun(Framework.doSomeWork, callback); // Should NOT step into c
allback (otherwise too many StepIns) | 40 Framework.safeRun(Framework.doSomeWork, callback); // Should step into callb
ack |
41 } | 41 } |
42 | 42 |
43 function test5() | 43 function test5() |
44 { | 44 { |
45 debugger; | 45 debugger; |
46 Framework.safeRun(Framework.empty, Framework.throwFrameworkException, callba
ck); // Should be enough to step into callback | 46 Framework.safeRun(Framework.empty, Framework.throwFrameworkException, callba
ck); // Should be enough to step into callback |
47 } | 47 } |
48 | 48 |
49 function test6() | 49 function test6() |
50 { | 50 { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 </script> | 91 </script> |
92 </head> | 92 </head> |
93 | 93 |
94 <body onload="runTest()"> | 94 <body onload="runTest()"> |
95 <input type='button' onclick='testFunction()' value='Test'/> | 95 <input type='button' onclick='testFunction()' value='Test'/> |
96 <p> | 96 <p> |
97 Tests the skip stack frames feature when stepping. | 97 Tests the skip stack frames feature when stepping. |
98 </p> | 98 </p> |
99 </body> | 99 </body> |
100 </html> | 100 </html> |
OLD | NEW |