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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-log-wrapped-in-framework.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 src="resources/framework.js"></script> 5 <script src="resources/framework.js"></script>
6 <script> 6 <script>
7 7
8 function runLogs() 8 function runLogs()
9 { 9 {
10 console.log("direct console.log()"); 10 console.log("direct console.log()");
11 Framework.log("framework log"); 11 Framework.log("framework log");
12 } 12 }
13 13
14 function test() 14 function test()
15 { 15 {
16 var frameworkRegexString = "/framework\\.js$"; 16 var frameworkRegexString = "/framework\\.js$";
17 WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexStri ng); 17 WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexStri ng);
18 18
19 InspectorTest.evaluateInPage("runLogs()"); 19 InspectorTest.evaluateInPage("runLogs()");
20 InspectorTest.runAfterPendingDispatches(callback); 20 InspectorTest.deprecatedRunAfterPendingDispatches(callback);
21 function callback() 21 function callback()
22 { 22 {
23 InspectorTest.dumpConsoleMessages(); 23 InspectorTest.dumpConsoleMessages();
24 InspectorTest.completeTest(); 24 InspectorTest.completeTest();
25 } 25 }
26 } 26 }
27 27
28 </script> 28 </script>
29 </head> 29 </head>
30 <body onload="runTest()"> 30 <body onload="runTest()">
31 <p> 31 <p>
32 Tests console.log() anchor location when the skip-stack-frames feature is enable d. 32 Tests console.log() anchor location when the skip-stack-frames feature is enable d.
33 </p> 33 </p>
34 </body> 34 </body>
35 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698