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

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

Issue 2842843003: DevTools: Display product information in ConsoleContextSelector (Closed)
Patch Set: f Created 3 years, 7 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 function evaluateInConsoleAndDump(callback) 48 function evaluateInConsoleAndDump(callback)
49 { 49 {
50 var copy = expressions.slice(); 50 var copy = expressions.slice();
51 inner(); 51 inner();
52 52
53 function inner() 53 function inner()
54 { 54 {
55 var expression = copy.shift(); 55 var expression = copy.shift();
56 if (expression) 56 if (expression)
57 InspectorTest.evaluateInConsoleAndDump(expression, inner); 57 InspectorTest.evaluateInConsoleAndDump(expression, inner, true);
58 else 58 else
59 callback(); 59 callback();
60 } 60 }
61 } 61 }
62 62
63 InspectorTest.startDebuggerTest(step1, true); 63 InspectorTest.startDebuggerTest(step1, true);
64 64
65 function step1() 65 function step1()
66 { 66 {
67 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); 67 InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
(...skipping 29 matching lines...) Expand all
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