| 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 a JavaScript breakpoint. | 7 Call stack status: Paused on a JavaScript breakpoint. |
| 8 ==Source frame contents start== | 8 ==Source frame contents start== |
| 9 <html> | 9 <html> |
| 10 <head> | 10 <head> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 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 = WebInspector.panels.sources; |
| 31 InspectorTest.startDebuggerTest(step1, true); | 31 InspectorTest.startDebuggerTest(step1, true); |
| 32 | 32 |
| 33 function callstackStatus() | 33 function callstackStatus() |
| 34 { | 34 { |
| 35 var pane = self.runtime.sharedInstance(WebInspector.CallStackSidebarPane
); | 35 var statusElement = panel.element.querySelector(".paused-status"); |
| 36 var statusElement = pane.contentElement; | |
| 37 return statusElement ? statusElement.textContent : ""; | 36 return statusElement ? statusElement.textContent : ""; |
| 38 } | 37 } |
| 39 | 38 |
| 40 function step1() | 39 function step1() |
| 41 { | 40 { |
| 42 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2); | 41 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2); |
| 43 } | 42 } |
| 44 | 43 |
| 45 function step2(sourceFrame) | 44 function step2(sourceFrame) |
| 46 { | 45 { |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 126 |
| 128 <script> | 127 <script> |
| 129 | 128 |
| 130 var test = function() | 129 var test = function() |
| 131 { | 130 { |
| 132 var panel = WebInspector.panels.sources; | 131 var panel = WebInspector.panels.sources; |
| 133 InspectorTest.startDebuggerTest(step1, true); | 132 InspectorTest.startDebuggerTest(step1, true); |
| 134 | 133 |
| 135 function callstackStatus() | 134 function callstackStatus() |
| 136 { | 135 { |
| 137 var pane = self.runtime.sharedInstance(WebInspector.CallStackSidebarPane
); | 136 var statusElement = panel.element.querySelector(".paused-status"); |
| 138 var statusElement = pane.contentElement; | |
| 139 return statusElement ? statusElement.textContent : ""; | 137 return statusElement ? statusElement.textContent : ""; |
| 140 } | 138 } |
| 141 | 139 |
| 142 function step1() | 140 function step1() |
| 143 { | 141 { |
| 144 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2); | 142 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2); |
| 145 } | 143 } |
| 146 | 144 |
| 147 function step2(sourceFrame) | 145 function step2(sourceFrame) |
| 148 { | 146 { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 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. |
| 201 <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> |
| 202 </p> | 200 </p> |
| 203 | 201 |
| 204 </body> | 202 </body> |
| 205 </html> | 203 </html> |
| 206 | 204 |
| 207 ==Source frame contents end== | 205 ==Source frame contents end== |
| 208 Page reloaded. | 206 Page reloaded. |
| 209 | 207 |
| OLD | NEW |