| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 } | 51 } |
| 52 | 52 |
| 53 function step4(sourceFrame) | 53 function step4(sourceFrame) |
| 54 { | 54 { |
| 55 InspectorTest.dumpSourceFrameContents(sourceFrame); | 55 InspectorTest.dumpSourceFrameContents(sourceFrame); |
| 56 InspectorTest.resumeExecution(InspectorTest.waitUntilPaused.bind(null, s
tep5)); | 56 InspectorTest.resumeExecution(InspectorTest.waitUntilPaused.bind(null, s
tep5)); |
| 57 } | 57 } |
| 58 | 58 |
| 59 function step5(callFrames) | 59 function step5(callFrames) |
| 60 { | 60 { |
| 61 if (callFrames[0].location.lineNumber !== 9) { | 61 if (callFrames[0].location().lineNumber !== 9) { |
| 62 InspectorTest.resumeExecution(InspectorTest.waitUntilPaused.bind(nul
l, step5)); | 62 InspectorTest.resumeExecution(InspectorTest.waitUntilPaused.bind(nul
l, step5)); |
| 63 return; | 63 return; |
| 64 } | 64 } |
| 65 | 65 |
| 66 InspectorTest.addResult("Script execution paused."); | 66 InspectorTest.addResult("Script execution paused."); |
| 67 InspectorTest.captureStackTrace(callFrames); | 67 InspectorTest.captureStackTrace(callFrames); |
| 68 InspectorTest.showScriptSource("debug-inlined-scripts.html", step6); | 68 InspectorTest.showScriptSource("debug-inlined-scripts.html", step6); |
| 69 } | 69 } |
| 70 | 70 |
| 71 function step6(sourceFrame) | 71 function step6(sourceFrame) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 85 </head> | 85 </head> |
| 86 | 86 |
| 87 <body onload="runTest()"> | 87 <body onload="runTest()"> |
| 88 <p> | 88 <p> |
| 89 Tests that all inlined scripts from the same document are shown in the same sour
ce frame with html script tags. | 89 Tests that all inlined scripts from the same document are shown in the same sour
ce frame with html script tags. |
| 90 <a href="https://bugs.webkit.org/show_bug.cgi?id=54544">Bug 54544.</a> | 90 <a href="https://bugs.webkit.org/show_bug.cgi?id=54544">Bug 54544.</a> |
| 91 </p> | 91 </p> |
| 92 | 92 |
| 93 </body> | 93 </body> |
| 94 </html> | 94 </html> |
| OLD | NEW |