| OLD | NEW |
| 1 Tests that all inlined scripts from the same document are shown in the same sour
ce frame with html script tags. Bug 54544. | 1 Tests that all inlined scripts from the same document are shown in the same sour
ce frame with html script tags. Bug 54544. |
| 2 | 2 |
| 3 Debugger was enabled. | 3 Debugger was enabled. |
| 4 Script source was shown. | 4 Script source was shown. |
| 5 Script execution paused. | 5 Script execution paused. |
| 6 Call stack: | 6 Call stack: |
| 7 0) (debug-inlined-scripts.html:3) | 7 0) (debug-inlined-scripts.html:3) |
| 8 Call stack status: Paused on a JavaScript breakpoint. | 8 Call stack status: Paused on a JavaScript breakpoint. |
| 9 ==Source frame contents start== | 9 ==Source frame contents start== |
| 10 <html> | 10 <html> |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 } | 60 } |
| 61 | 61 |
| 62 function step4(sourceFrame) | 62 function step4(sourceFrame) |
| 63 { | 63 { |
| 64 InspectorTest.dumpSourceFrameContents(sourceFrame); | 64 InspectorTest.dumpSourceFrameContents(sourceFrame); |
| 65 InspectorTest.resumeExecution(InspectorTest.waitUntilPaused.bind(null, s
tep5)); | 65 InspectorTest.resumeExecution(InspectorTest.waitUntilPaused.bind(null, s
tep5)); |
| 66 } | 66 } |
| 67 | 67 |
| 68 function step5(callFrames) | 68 function step5(callFrames) |
| 69 { | 69 { |
| 70 if (callFrames[0].location.lineNumber !== 9) { | 70 if (callFrames[0].location().lineNumber !== 9) { |
| 71 InspectorTest.resumeExecution(InspectorTest.waitUntilPaused.bind(nul
l, step5)); | 71 InspectorTest.resumeExecution(InspectorTest.waitUntilPaused.bind(nul
l, step5)); |
| 72 return; | 72 return; |
| 73 } | 73 } |
| 74 | 74 |
| 75 InspectorTest.addResult("Script execution paused."); | 75 InspectorTest.addResult("Script execution paused."); |
| 76 InspectorTest.captureStackTrace(callFrames); | 76 InspectorTest.captureStackTrace(callFrames); |
| 77 InspectorTest.showScriptSource("debug-inlined-scripts.html", step6); | 77 InspectorTest.showScriptSource("debug-inlined-scripts.html", step6); |
| 78 } | 78 } |
| 79 | 79 |
| 80 function step6(sourceFrame) | 80 function step6(sourceFrame) |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 } | 161 } |
| 162 | 162 |
| 163 function step4(sourceFrame) | 163 function step4(sourceFrame) |
| 164 { | 164 { |
| 165 InspectorTest.dumpSourceFrameContents(sourceFrame); | 165 InspectorTest.dumpSourceFrameContents(sourceFrame); |
| 166 InspectorTest.resumeExecution(InspectorTest.waitUntilPaused.bind(null, s
tep5)); | 166 InspectorTest.resumeExecution(InspectorTest.waitUntilPaused.bind(null, s
tep5)); |
| 167 } | 167 } |
| 168 | 168 |
| 169 function step5(callFrames) | 169 function step5(callFrames) |
| 170 { | 170 { |
| 171 if (callFrames[0].location.lineNumber !== 9) { | 171 if (callFrames[0].location().lineNumber !== 9) { |
| 172 InspectorTest.resumeExecution(InspectorTest.waitUntilPaused.bind(nul
l, step5)); | 172 InspectorTest.resumeExecution(InspectorTest.waitUntilPaused.bind(nul
l, step5)); |
| 173 return; | 173 return; |
| 174 } | 174 } |
| 175 | 175 |
| 176 InspectorTest.addResult("Script execution paused."); | 176 InspectorTest.addResult("Script execution paused."); |
| 177 InspectorTest.captureStackTrace(callFrames); | 177 InspectorTest.captureStackTrace(callFrames); |
| 178 InspectorTest.showScriptSource("debug-inlined-scripts.html", step6); | 178 InspectorTest.showScriptSource("debug-inlined-scripts.html", step6); |
| 179 } | 179 } |
| 180 | 180 |
| 181 function step6(sourceFrame) | 181 function step6(sourceFrame) |
| (...skipping 18 matching lines...) Expand all Loading... |
| 200 <a href="https://bugs.webkit.org/show_bug.cgi?id=54544">Bug 54544.</a> | 200 <a href="https://bugs.webkit.org/show_bug.cgi?id=54544">Bug 54544.</a> |
| 201 </p> | 201 </p> |
| 202 | 202 |
| 203 </body> | 203 </body> |
| 204 </html> | 204 </html> |
| 205 | 205 |
| 206 ==Source frame contents end== | 206 ==Source frame contents end== |
| 207 Page reloaded. | 207 Page reloaded. |
| 208 Debugger was disabled. | 208 Debugger was disabled. |
| 209 | 209 |
| OLD | NEW |