| 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 Script source was shown. | 3 Script source was shown. |
| 4 Script execution paused. | 4 Script execution paused. |
| 5 Call stack: | 5 Call stack: |
| 6 0) (debug-inlined-scripts.html:3) | 6 0) (debug-inlined-scripts.html:3) |
| 7 Call stack status: Paused on breakpoint | 7 Call stack status: Paused on breakpoint |
| 8 ==Source frame contents start== | 8 ==Source frame contents start== |
| 9 <html> | 9 <html> |
| 10 <head> | 10 <head> |
| 11 <script> function f1() { return 0; }; f1(); </script> <script>function f
2() { return 0; }</script><script> | 11 <script> function f1() { return 0; }; f1(); </script> <script>function f
2() { return 0; }</script><script> |
| 12 function f3() { return 0; } | 12 function f3() { return 0; } |
| 13 </script> | 13 </script> |
| 14 | 14 |
| 15 <script> | 15 <script> |
| 16 function f4() | 16 function f4() |
| 17 { | 17 { |
| 18 return 0; | 18 return 0; |
| 19 } | 19 } |
| 20 f4(); | 20 f4(); |
| 21 </script> | 21 </script> |
| 22 | 22 |
| 23 <script src="../../../http/tests/inspector/inspector-test.js"></script> | 23 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| 24 <script src="../../../http/tests/inspector/debugger-test.js"></script> | 24 <script src="../../../http/tests/inspector/debugger-test.js"></script> |
| 25 | 25 |
| 26 <script> | 26 <script> |
| 27 | 27 |
| 28 var test = function() | 28 var test = function() |
| 29 { | 29 { |
| 30 var panel = WebInspector.panels.sources; | 30 var panel = UI.panels.sources; |
| 31 InspectorTest.startDebuggerTest(step1, true); | 31 InspectorTest.startDebuggerTest(step1, true); |
| 32 | 32 |
| 33 function callstackStatus() | 33 function callstackStatus() |
| 34 { | 34 { |
| 35 var statusElement = panel.element.querySelector(".paused-message"); | 35 var statusElement = panel.element.querySelector(".paused-message"); |
| 36 return statusElement ? statusElement.deepTextContent() : "not found"; | 36 return statusElement ? statusElement.deepTextContent() : "not found"; |
| 37 } | 37 } |
| 38 | 38 |
| 39 function step1() | 39 function step1() |
| 40 { | 40 { |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 f4(); | 121 f4(); |
| 122 </script> | 122 </script> |
| 123 | 123 |
| 124 <script src="../../../http/tests/inspector/inspector-test.js"></script> | 124 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| 125 <script src="../../../http/tests/inspector/debugger-test.js"></script> | 125 <script src="../../../http/tests/inspector/debugger-test.js"></script> |
| 126 | 126 |
| 127 <script> | 127 <script> |
| 128 | 128 |
| 129 var test = function() | 129 var test = function() |
| 130 { | 130 { |
| 131 var panel = WebInspector.panels.sources; | 131 var panel = UI.panels.sources; |
| 132 InspectorTest.startDebuggerTest(step1, true); | 132 InspectorTest.startDebuggerTest(step1, true); |
| 133 | 133 |
| 134 function callstackStatus() | 134 function callstackStatus() |
| 135 { | 135 { |
| 136 var statusElement = panel.element.querySelector(".paused-message"); | 136 var statusElement = panel.element.querySelector(".paused-message"); |
| 137 return statusElement ? statusElement.deepTextContent() : "not found"; | 137 return statusElement ? statusElement.deepTextContent() : "not found"; |
| 138 } | 138 } |
| 139 | 139 |
| 140 function step1() | 140 function step1() |
| 141 { | 141 { |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 Tests that all inlined scripts from the same document are shown in the same sour
ce frame with html script tags. | 198 Tests that all inlined scripts from the same document are shown in the same sour
ce frame with html script tags. |
| 199 <a href="https://bugs.webkit.org/show_bug.cgi?id=54544">Bug 54544.</a> | 199 <a href="https://bugs.webkit.org/show_bug.cgi?id=54544">Bug 54544.</a> |
| 200 </p> | 200 </p> |
| 201 | 201 |
| 202 </body> | 202 </body> |
| 203 </html> | 203 </html> |
| 204 | 204 |
| 205 ==Source frame contents end== | 205 ==Source frame contents end== |
| 206 Page reloaded. | 206 Page reloaded. |
| 207 | 207 |
| OLD | NEW |