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

Side by Side Diff: LayoutTests/inspector/debugger/selected-call-frame-after-formatting-source.html

Issue 23484056: [DevTools] Renaming Scripts panel to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified missed files Created 7 years, 3 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 src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/debugger-test.js"></script> 4 <script src="../../http/tests/inspector/debugger-test.js"></script>
5 <script src="../../http/tests/inspector/elements-test.js"></script> 5 <script src="../../http/tests/inspector/elements-test.js"></script>
6 <script> 6 <script>
7 function testFunction() 7 function testFunction()
8 { 8 {
9 return testFunction2(); 9 return testFunction2();
10 } 10 }
11 11
12 function testFunction2() 12 function testFunction2()
13 { 13 {
14 var x = Math.sqrt(10); 14 var x = Math.sqrt(10);
15 debugger; 15 debugger;
16 return x; 16 return x;
17 } 17 }
18 18
19 var test = function() 19 var test = function()
20 { 20 {
21 InspectorTest.startDebuggerTest(step1); 21 InspectorTest.startDebuggerTest(step1);
22 var panel = WebInspector.panels.scripts; 22 var panel = WebInspector.panels.sources;
23 var sourceFrame; 23 var sourceFrame;
24 24
25 function step1() 25 function step1()
26 { 26 {
27 var testName = WebInspector.inspectedPageURL; 27 var testName = WebInspector.inspectedPageURL;
28 testName = testName.substring(testName.lastIndexOf('/') + 1); 28 testName = testName.substring(testName.lastIndexOf('/') + 1);
29 InspectorTest.showScriptSource(testName, step2); 29 InspectorTest.showScriptSource(testName, step2);
30 } 30 }
31 31
32 function step2(frame) 32 function step2(frame)
(...skipping 21 matching lines...) Expand all
54 } 54 }
55 } 55 }
56 56
57 </script> 57 </script>
58 </head> 58 </head>
59 <body onload="runTest()"> 59 <body onload="runTest()">
60 <p>Tests selected call frame does not change when pretty-print is toggled.</p> 60 <p>Tests selected call frame does not change when pretty-print is toggled.</p>
61 <a href="https://bugs.webkit.org/show_bug.cgi?id=70906">Bug 70906</a> 61 <a href="https://bugs.webkit.org/show_bug.cgi?id=70906">Bug 70906</a>
62 </body> 62 </body>
63 </html> 63 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/debugger/scripts-sorting.html ('k') | LayoutTests/inspector/debugger/set-breakpoint.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698