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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-format.html

Issue 1877223003: DevTools: deprecate InspectorTest.runAfterPendingDispatches (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 5
6 <script> 6 <script>
7 // Global Values 7 // Global Values
8 var globals = []; 8 var globals = [];
9 9
10 function log(current) 10 function log(current)
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 InspectorTest.expandConsoleMessages(InspectorTest.expandConsoleMessa gesErrorParameters.bind(this, finish), undefined, function(section) { return sec tion.element.firstChild.textContent !== "#text"; }); 117 InspectorTest.expandConsoleMessages(InspectorTest.expandConsoleMessa gesErrorParameters.bind(this, finish), undefined, function(section) { return sec tion.element.firstChild.textContent !== "#text"; });
118 } 118 }
119 119
120 function finish() 120 function finish()
121 { 121 {
122 InspectorTest.dumpConsoleMessagesIgnoreErrorStackFrames(); 122 InspectorTest.dumpConsoleMessagesIgnoreErrorStackFrames();
123 InspectorTest.completeTest(); 123 InspectorTest.completeTest();
124 } 124 }
125 125
126 InspectorTest.evaluateInPage("log(" + current + ")"); 126 InspectorTest.evaluateInPage("log(" + current + ")");
127 InspectorTest.runAfterPendingDispatches(evalInConsole); 127 InspectorTest.deprecatedRunAfterPendingDispatches(evalInConsole);
128 function evalInConsole() 128 function evalInConsole()
129 { 129 {
130 InspectorTest.evaluateInConsole("globals[" + current + "]"); 130 InspectorTest.evaluateInConsole("globals[" + current + "]");
131 InspectorTest.runAfterPendingDispatches(advance); 131 InspectorTest.deprecatedRunAfterPendingDispatches(advance);
132 } 132 }
133 } 133 }
134 } 134 }
135 </script> 135 </script>
136 </head> 136 </head>
137 137
138 <body onload="onload()"> 138 <body onload="onload()">
139 <div id="x"></div> 139 <div id="x"></div>
140 <p id="p">Tests that console logging dumps proper messages.</p> 140 <p id="p">Tests that console logging dumps proper messages.</p>
141 </body> 141 </body>
142 <svg id="svg-node"></svg> 142 <svg id="svg-node"></svg>
143 </html> 143 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698