OLD | NEW |
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 Loading... |
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 Loading... |
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> |
OLD | NEW |