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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-format-es6.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 <script> 5 <script>
6 6
7 var globals = []; 7 var globals = [];
8 8
9 function log(current) 9 function log(current)
10 { 10 {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 InspectorTest.expandConsoleMessages(dumpConsoleMessages); 80 InspectorTest.expandConsoleMessages(dumpConsoleMessages);
81 } 81 }
82 82
83 function dumpConsoleMessages() 83 function dumpConsoleMessages()
84 { 84 {
85 InspectorTest.dumpConsoleMessages(false, false, InspectorTest.textCo ntentWithLineBreaks); 85 InspectorTest.dumpConsoleMessages(false, false, InspectorTest.textCo ntentWithLineBreaks);
86 InspectorTest.completeTest(); 86 InspectorTest.completeTest();
87 } 87 }
88 88
89 InspectorTest.evaluateInPage("log(" + current + ")"); 89 InspectorTest.evaluateInPage("log(" + current + ")");
90 InspectorTest.runAfterPendingDispatches(evalInConsole); 90 InspectorTest.deprecatedRunAfterPendingDispatches(evalInConsole);
91 function evalInConsole() 91 function evalInConsole()
92 { 92 {
93 InspectorTest.evaluateInConsole("globals[" + current + "]"); 93 InspectorTest.evaluateInConsole("globals[" + current + "]");
94 InspectorTest.runAfterPendingDispatches(advance); 94 InspectorTest.deprecatedRunAfterPendingDispatches(advance);
95 } 95 }
96 } 96 }
97 } 97 }
98 </script> 98 </script>
99 </head> 99 </head>
100 100
101 <body onload="onload()"> 101 <body onload="onload()">
102 <p> 102 <p>
103 Tests that console properly displays information about ES6 features. 103 Tests that console properly displays information about ES6 features.
104 </p> 104 </p>
105 </body> 105 </body>
106 </html> 106 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698