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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/debugger-eval-on-call-frame-inside-iframe.html

Issue 2238003002: DevTools: migrate sources panel sidebar to views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed 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 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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698