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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/debugger-change-variable.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/console-test.js"></script> 4 <script src="../../../http/tests/inspector/console-test.js"></script>
5 <script src="../../../http/tests/inspector/debugger-test.js"></script> 5 <script src="../../../http/tests/inspector/debugger-test.js"></script>
6 <script> 6 <script>
7 7
8 function slave(x) 8 function slave(x)
9 { 9 {
10 var y = 20; 10 var y = 20;
(...skipping 26 matching lines...) Expand all
37 return localsSection._object; 37 return localsSection._object;
38 } 38 }
39 39
40 function step1() 40 function step1()
41 { 41 {
42 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); 42 InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
43 } 43 }
44 44
45 function step2(callFrames) 45 function step2(callFrames)
46 { 46 {
47 var pane = WebInspector.panels.sources.sidebarPanes.callstack; 47 var pane = self.runtime.sharedInstance(WebInspector.CallStackSidebarPane );
48 pane._callFrameSelected(pane.callFrames[1]); 48 pane._callFrameSelected(pane.callFrames[1]);
49 InspectorTest.deprecatedRunAfterPendingDispatches(step3); 49 InspectorTest.deprecatedRunAfterPendingDispatches(step3);
50 } 50 }
51 51
52 function step3() 52 function step3()
53 { 53 {
54 InspectorTest.addResult("\nEvaluated before modification:"); 54 InspectorTest.addResult("\nEvaluated before modification:");
55 evalLocalVariables(step4); 55 evalLocalVariables(step4);
56 } 56 }
57 57
(...skipping 21 matching lines...) Expand all
79 79
80 </script> 80 </script>
81 </head> 81 </head>
82 82
83 <body onload="runTest()"> 83 <body onload="runTest()">
84 <p> 84 <p>
85 Tests that modifying local variables works fine. 85 Tests that modifying local variables works fine.
86 </p> 86 </p>
87 </body> 87 </body>
88 </html> 88 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698