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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/debugger-change-variable.html

Issue 2916743002: [DevTools] Introduce Common.List used as a backend for list controls (Closed)
Patch Set: addressed comments Created 3 years, 6 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 27 matching lines...) Expand all
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 = self.runtime.sharedInstance(Sources.CallStackSidebarPane); 47 var pane = self.runtime.sharedInstance(Sources.CallStackSidebarPane);
48 pane._list.selectItem(pane._list.itemAtIndex(1)); 48 pane._list.selectItem(pane._list._model.itemAtIndex(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
58 async function step4() 58 async function step4()
(...skipping 12 matching lines...) Expand all
71 71
72 </script> 72 </script>
73 </head> 73 </head>
74 74
75 <body onload="runTest()"> 75 <body onload="runTest()">
76 <p> 76 <p>
77 Tests that modifying local variables works fine. 77 Tests that modifying local variables works fine.
78 </p> 78 </p>
79 </body> 79 </body>
80 </html> 80 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698