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 statusElement = panel.sidebarPanes.callstack._statusMessageElement; | 35 var pane = self.runtime.sharedInstance(WebInspector.CallStackSidebarPane
); |
| 36 var statusElement = pane.contentElement; |
36 return statusElement ? statusElement.textContent : ""; | 37 return statusElement ? statusElement.textContent : ""; |
37 } | 38 } |
38 | 39 |
39 function step1() | 40 function step1() |
40 { | 41 { |
41 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2); | 42 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2); |
42 } | 43 } |
43 | 44 |
44 function step2(sourceFrame) | 45 function step2(sourceFrame) |
45 { | 46 { |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 127 |
127 <script> | 128 <script> |
128 | 129 |
129 var test = function() | 130 var test = function() |
130 { | 131 { |
131 var panel = WebInspector.panels.sources; | 132 var panel = WebInspector.panels.sources; |
132 InspectorTest.startDebuggerTest(step1, true); | 133 InspectorTest.startDebuggerTest(step1, true); |
133 | 134 |
134 function callstackStatus() | 135 function callstackStatus() |
135 { | 136 { |
136 var statusElement = panel.sidebarPanes.callstack._statusMessageElement; | 137 var pane = self.runtime.sharedInstance(WebInspector.CallStackSidebarPane
); |
| 138 var statusElement = pane.contentElement; |
137 return statusElement ? statusElement.textContent : ""; | 139 return statusElement ? statusElement.textContent : ""; |
138 } | 140 } |
139 | 141 |
140 function step1() | 142 function step1() |
141 { | 143 { |
142 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2); | 144 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2); |
143 } | 145 } |
144 | 146 |
145 function step2(sourceFrame) | 147 function step2(sourceFrame) |
146 { | 148 { |
(...skipping 51 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. | 200 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> | 201 <a href="https://bugs.webkit.org/show_bug.cgi?id=54544">Bug 54544.</a> |
200 </p> | 202 </p> |
201 | 203 |
202 </body> | 204 </body> |
203 </html> | 205 </html> |
204 | 206 |
205 ==Source frame contents end== | 207 ==Source frame contents end== |
206 Page reloaded. | 208 Page reloaded. |
207 | 209 |
OLD | NEW |