Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debug-inlined-scripts.html

Issue 2238003002: DevTools: migrate sources panel sidebar to views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 statusElement = panel.sidebarPanes.callstack._statusMessageElement; 27 var pane = self.runtime.sharedInstance(WebInspector.CallStackSidebarPane );
28 var statusElement = pane.contentElement;
28 return statusElement ? statusElement.textContent : ""; 29 return statusElement ? statusElement.textContent : "";
29 } 30 }
30 31
31 function step1() 32 function step1()
32 { 33 {
33 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2); 34 InspectorTest.showScriptSource("debug-inlined-scripts.html", step2);
34 } 35 }
35 36
36 function step2(sourceFrame) 37 function step2(sourceFrame)
37 { 38 {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 </head> 86 </head>
86 87
87 <body onload="runTest()"> 88 <body onload="runTest()">
88 <p> 89 <p>
89 Tests that all inlined scripts from the same document are shown in the same sour ce frame with html script tags. 90 Tests that all inlined scripts from the same document are shown in the same sour ce frame with html script tags.
90 <a href="https://bugs.webkit.org/show_bug.cgi?id=54544">Bug 54544.</a> 91 <a href="https://bugs.webkit.org/show_bug.cgi?id=54544">Bug 54544.</a>
91 </p> 92 </p>
92 93
93 </body> 94 </body>
94 </html> 95 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698