| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 | 3 |
| 4 <script> | 4 <script> |
| 5 function f1() | 5 function f1() |
| 6 { | 6 { |
| 7 return 1; // Breakpoint. | 7 return 1; // Breakpoint. |
| 8 } | 8 } |
| 9 f1(); | 9 f1(); |
| 10 </script> | 10 </script> |
| 11 | 11 |
| 12 <script> | 12 <script> |
| 13 function f2() | 13 function f2() |
| 14 { | 14 { |
| 15 return 2; | 15 return 2; |
| 16 } | 16 } |
| 17 f2(); | 17 f2(); |
| 18 </script> | 18 </script> |
| 19 | 19 |
| 20 <script src="../../../http/tests/inspector/inspector-test.js"></script> | 20 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| 21 <script src="../../../http/tests/inspector/debugger-test.js"></script> | 21 <script src="../../../http/tests/inspector/debugger-test.js"></script> |
| 22 | 22 |
| 23 <script> | 23 <script> |
| 24 | 24 |
| 25 function test() | 25 function test() |
| 26 { | 26 { |
| 27 var numberOfStepInto = 9; | 27 var numberOfStepInto = 7; |
| 28 | 28 |
| 29 InspectorTest.startDebuggerTest(step1, true); | 29 InspectorTest.startDebuggerTest(step1, true); |
| 30 | 30 |
| 31 function step1() | 31 function step1() |
| 32 { | 32 { |
| 33 InspectorTest.showScriptSource("debugger-step-into-inlined-scripts.html"
, step2); | 33 InspectorTest.showScriptSource("debugger-step-into-inlined-scripts.html"
, step2); |
| 34 } | 34 } |
| 35 | 35 |
| 36 function step2(sourceFrame) | 36 function step2(sourceFrame) |
| 37 { | 37 { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 58 | 58 |
| 59 </script> | 59 </script> |
| 60 </head> | 60 </head> |
| 61 | 61 |
| 62 <body onload="runTest()"> | 62 <body onload="runTest()"> |
| 63 <p> | 63 <p> |
| 64 Tests that debugger StepInto will step through inlined scripts. | 64 Tests that debugger StepInto will step through inlined scripts. |
| 65 </p> | 65 </p> |
| 66 </body> | 66 </body> |
| 67 </html> | 67 </html> |
| OLD | NEW |