| 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 dirxml() { return "overridden dirxml() in top frame"; } | 8 function dirxml() { return "overridden dirxml() in top frame"; } |
| 9 | 9 |
| 10 function onload() | 10 function onload() |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 function step2(callFrames) | 70 function step2(callFrames) |
| 71 { | 71 { |
| 72 InspectorTest.captureStackTrace(callFrames); | 72 InspectorTest.captureStackTrace(callFrames); |
| 73 InspectorTest.addResult("\n=== Evaluating on iframe ==="); | 73 InspectorTest.addResult("\n=== Evaluating on iframe ==="); |
| 74 evaluateInConsoleAndDump(step3); | 74 evaluateInConsoleAndDump(step3); |
| 75 } | 75 } |
| 76 | 76 |
| 77 function step3() | 77 function step3() |
| 78 { | 78 { |
| 79 var pane = WebInspector.panels.sources.sidebarPanes.callstack; | 79 var pane = self.runtime.sharedInstance(WebInspector.CallStackSidebarPane
); |
| 80 pane._callFrameSelected(pane.callFrames[1]); | 80 pane._callFrameSelected(pane.callFrames[1]); |
| 81 InspectorTest.deprecatedRunAfterPendingDispatches(step4); | 81 InspectorTest.deprecatedRunAfterPendingDispatches(step4); |
| 82 } | 82 } |
| 83 | 83 |
| 84 function step4() | 84 function step4() |
| 85 { | 85 { |
| 86 InspectorTest.addResult("\n=== Evaluating on top frame ==="); | 86 InspectorTest.addResult("\n=== Evaluating on top frame ==="); |
| 87 evaluateInConsoleAndDump(step5); | 87 evaluateInConsoleAndDump(step5); |
| 88 } | 88 } |
| 89 | 89 |
| 90 function step5() | 90 function step5() |
| 91 { | 91 { |
| 92 InspectorTest.completeDebuggerTest(); | 92 InspectorTest.completeDebuggerTest(); |
| 93 } | 93 } |
| 94 } | 94 } |
| 95 | 95 |
| 96 </script> | 96 </script> |
| 97 </head> | 97 </head> |
| 98 | 98 |
| 99 <body onload="onload()"> | 99 <body onload="onload()"> |
| 100 <iframe id="iframe"></iframe> | 100 <iframe id="iframe"></iframe> |
| 101 <p> | 101 <p> |
| 102 Test that evaluation on call frame works across all inspected windows in the cal
l stack. | 102 Test that evaluation on call frame works across all inspected windows in the cal
l stack. |
| 103 </p> | 103 </p> |
| 104 | 104 |
| 105 </body> | 105 </body> |
| 106 </html> | 106 </html> |
| OLD | NEW |