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

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

Issue 2238003002: DevTools: migrate sources panel sidebar to views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: followed up on the watch test. 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 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 }
(...skipping 26 matching lines...) Expand all
37 37
38 function step3() 38 function step3()
39 { 39 {
40 InspectorTest.completeDebuggerTest(); return; 40 InspectorTest.completeDebuggerTest(); return;
41 InspectorTest.debuggerModel.setSelectedCallFrame(InspectorTest.debuggerM odel.debuggerPausedDetails().callFrames[1]); 41 InspectorTest.debuggerModel.setSelectedCallFrame(InspectorTest.debuggerM odel.debuggerPausedDetails().callFrames[1]);
42 sourceFrame._toggleFormatSource(step4); 42 sourceFrame._toggleFormatSource(step4);
43 } 43 }
44 44
45 function step4() 45 function step4()
46 { 46 {
47 InspectorTest.assertEquals("testFunction", InspectorTest.debuggerModel.s electedCallFrame().functionName); 47 InspectorTest.assertEquals("testFunction", WebInspector.context.flavor(W ebInspector.DebuggerModel.CallFrame).functionName);
48 sourceFrame._toggleFormatSource(step5); 48 sourceFrame._toggleFormatSource(step5);
49 } 49 }
50 50
51 function step5() 51 function step5()
52 { 52 {
53 InspectorTest.completeDebuggerTest(); 53 InspectorTest.completeDebuggerTest();
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

Powered by Google App Engine
This is Rietveld 408576698