| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> | |
| 4 <script src="../../../http/tests/inspector/debugger-test.js"></script> | |
| 5 <script> | |
| 6 | |
| 7 function testFunction() | |
| 8 { | |
| 9 String = "aa"; | |
| 10 debugger; | |
| 11 } | |
| 12 | |
| 13 var test = function() | |
| 14 { | |
| 15 InspectorTest.startDebuggerTest(step1); | |
| 16 | |
| 17 function step1() | |
| 18 { | |
| 19 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); | |
| 20 } | |
| 21 | |
| 22 function step2(callFrames) | |
| 23 { | |
| 24 InspectorTest.captureStackTrace(callFrames); | |
| 25 InspectorTest.completeDebuggerTest(); | |
| 26 } | |
| 27 } | |
| 28 | |
| 29 </script> | |
| 30 </head> | |
| 31 | |
| 32 <body onload="runTest()"> | |
| 33 <p> | |
| 34 Tests that debugger will stop on "debugger" statement w/ overriden string, etc. | |
| 35 </p> | |
| 36 | |
| 37 </body> | |
| 38 </html> | |
| OLD | NEW |