OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../http/tests/inspector/inspector-test2.js"></script> | 3 <script src="../http/tests/inspector/inspector-test2.js"></script> |
4 <script src="../http/tests/inspector/debugger-test2.js"></script> | 4 <script src="../http/tests/inspector/debugger-test2.js"></script> |
5 <script> | 5 <script> |
6 | 6 |
7 function testFunction() { | 7 function testFunction() { |
8 setTimeout("void 0", 0); // Create a timer that will be suspended on a break
point. | 8 setTimeout("void 0", 0); // Create a timer that will be suspended on a break
point. |
9 debugger; | 9 debugger; |
10 } | 10 } |
(...skipping 25 matching lines...) Expand all Loading... |
36 <body onload="runTest()"> | 36 <body onload="runTest()"> |
37 <p> | 37 <p> |
38 Tests that browser won't crash if user evaluates something in the console | 38 Tests that browser won't crash if user evaluates something in the console |
39 that would suspend active dom objects (e.g. if user attempts to show an alert) | 39 that would suspend active dom objects (e.g. if user attempts to show an alert) |
40 when script execution is paused on a breakpoint and all active dom objects | 40 when script execution is paused on a breakpoint and all active dom objects |
41 are already suspended. | 41 are already suspended. |
42 </p> | 42 </p> |
43 | 43 |
44 </body> | 44 </body> |
45 </html> | 45 </html> |
OLD | NEW |