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; |
11 } | 11 } |
12 f4(); | 12 f4(); |
13 </script> | 13 </script> |
14 | 14 |
15 <script src="../../../http/tests/inspector/inspector-test.js"></script> | 15 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
16 <script src="../../../http/tests/inspector/debugger-test.js"></script> | 16 <script src="../../../http/tests/inspector/debugger-test.js"></script> |
17 | 17 |
18 <script> | 18 <script> |
19 | 19 |
20 var test = function() | 20 var test = function() |
21 { | 21 { |
22 var panel = WebInspector.panels.sources; | 22 var panel = WebInspector.panels.sources; |
23 InspectorTest.startDebuggerTest(step1, true); | 23 InspectorTest.startDebuggerTest(step1, true); |
24 | 24 |
25 function callstackStatus() | 25 function callstackStatus() |
26 { | 26 { |
27 var pane = self.runtime.sharedInstance(WebInspector.CallStackSidebarPane
); | 27 var statusElement = panel.element.querySelector(".paused-message"); |
28 var statusElement = pane.contentElement; | 28 return statusElement ? statusElement.deepTextContent() : "not found"; |
29 return statusElement ? statusElement.textContent : ""; | |
30 } | 29 } |
31 | 30 |
32 function step1() | 31 function step1() |
33 { | 32 { |
34 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2); | 33 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2); |
35 } | 34 } |
36 | 35 |
37 function step2(sourceFrame) | 36 function step2(sourceFrame) |
38 { | 37 { |
39 InspectorTest.addResult("Script source was shown."); | 38 InspectorTest.addResult("Script source was shown."); |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 </head> | 85 </head> |
87 | 86 |
88 <body onload="runTest()"> | 87 <body onload="runTest()"> |
89 <p> | 88 <p> |
90 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. |
91 <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> |
92 </p> | 91 </p> |
93 | 92 |
94 </body> | 93 </body> |
95 </html> | 94 </html> |
OLD | NEW |