| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script> function f1() { return 0; }; f1(); </script> <script>function f
2() { return 0; }</script><script> | 3 <script> function f1() { return 0; }; f1(); </script> <script>function f
2() { return 0; }</script><script> |
| 4 function f3() { return 0; } | 4 function f3() { return 0; } |
| 5 </script> | 5 </script> |
| 6 | 6 |
| 7 <script> | 7 <script> |
| 8 function f4() | 8 function f4() |
| 9 { | 9 { |
| 10 return 0; | 10 return 0; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 } | 29 } |
| 30 | 30 |
| 31 function step1() | 31 function step1() |
| 32 { | 32 { |
| 33 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2); | 33 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2); |
| 34 } | 34 } |
| 35 | 35 |
| 36 function step2(sourceFrame) | 36 function step2(sourceFrame) |
| 37 { | 37 { |
| 38 InspectorTest.addResult("Script source was shown."); | 38 InspectorTest.addResult("Script source was shown."); |
| 39 InspectorTest.prepareSourceFrameForBreakpointTest(sourceFrame); | |
| 40 | 39 |
| 41 InspectorTest.setBreakpoint(sourceFrame, 2, "", true); | 40 InspectorTest.setBreakpoint(sourceFrame, 2, "", true); |
| 42 InspectorTest.setBreakpoint(sourceFrame, 9, "", true); | 41 InspectorTest.setBreakpoint(sourceFrame, 9, "", true); |
| 43 | 42 |
| 44 InspectorTest.waitJavaScriptSourceFrameBreakpoints(sourceFrame) | 43 InspectorTest.waitJavaScriptSourceFrameBreakpoints(sourceFrame) |
| 45 .then(() => { | 44 .then(() => { |
| 46 InspectorTest.reloadPage(() => InspectorTest.completeDebuggerTes
t()); | 45 InspectorTest.reloadPage(() => InspectorTest.completeDebuggerTes
t()); |
| 47 }); | 46 }); |
| 48 | 47 |
| 49 InspectorTest.waitUntilPaused(step3); | 48 InspectorTest.waitUntilPaused(step3); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 </head> | 91 </head> |
| 93 | 92 |
| 94 <body onload="runTest()"> | 93 <body onload="runTest()"> |
| 95 <p> | 94 <p> |
| 96 Tests that all inlined scripts from the same document are shown in the same sour
ce frame with html script tags. | 95 Tests that all inlined scripts from the same document are shown in the same sour
ce frame with html script tags. |
| 97 <a href="https://bugs.webkit.org/show_bug.cgi?id=54544">Bug 54544.</a> | 96 <a href="https://bugs.webkit.org/show_bug.cgi?id=54544">Bug 54544.</a> |
| 98 </p> | 97 </p> |
| 99 | 98 |
| 100 </body> | 99 </body> |
| 101 </html> | 100 </html> |
| OLD | NEW |