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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-format-es6-2.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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 InspectorTest.expandConsoleMessages(dumpConsoleMessages); 57 InspectorTest.expandConsoleMessages(dumpConsoleMessages);
58 } 58 }
59 59
60 function dumpConsoleMessages() 60 function dumpConsoleMessages()
61 { 61 {
62 InspectorTest.dumpConsoleMessages(false, false, InspectorTest.textCo ntentWithLineBreaks); 62 InspectorTest.dumpConsoleMessages(false, false, InspectorTest.textCo ntentWithLineBreaks);
63 InspectorTest.completeTest(); 63 InspectorTest.completeTest();
64 } 64 }
65 65
66 InspectorTest.evaluateInPage("log(" + current + ")"); 66 InspectorTest.evaluateInPage("log(" + current + ")");
67 InspectorTest.runAfterPendingDispatches(evalInConsole); 67 InspectorTest.deprecatedRunAfterPendingDispatches(evalInConsole);
68 function evalInConsole() 68 function evalInConsole()
69 { 69 {
70 InspectorTest.evaluateInConsole("globals[" + current + "]"); 70 InspectorTest.evaluateInConsole("globals[" + current + "]");
71 InspectorTest.runAfterPendingDispatches(advance); 71 InspectorTest.deprecatedRunAfterPendingDispatches(advance);
72 } 72 }
73 } 73 }
74 } 74 }
75 </script> 75 </script>
76 </head> 76 </head>
77 77
78 <body onload="onload()"> 78 <body onload="onload()">
79 <p> 79 <p>
80 Tests that console properly displays information about ES6 features. 80 Tests that console properly displays information about ES6 features.
81 </p> 81 </p>
82 </body> 82 </body>
83 </html> 83 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698