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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/cpu-profiler/console-profile.html

Issue 2951643002: [DevTools] Prepare inspector-protocol tests to new test runner (Closed)
Patch Set: css3/fonts Created 3 years, 6 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 type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource s/inspector-protocol-test.js"></script>
4 <script> 4 <script>
5 function collectProfiles() 5 function collectProfiles()
6 { 6 {
7 console.profile("outer"); 7 console.profile("outer");
8 console.profile(42); 8 console.profile(42);
9 console.profileEnd("outer"); 9 console.profileEnd("outer");
10 console.profileEnd(42); 10 console.profileEnd(42);
11 } 11 }
12 12
13 function test() 13 function test()
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 } 58 }
59 } 59 }
60 </script> 60 </script>
61 </head> 61 </head>
62 <body onload="runTest()"> 62 <body onload="runTest()">
63 <p> 63 <p>
64 Tests that console.profile/profileEnd will record CPU profile when inspector fro nt-end is connected.<br> 64 Tests that console.profile/profileEnd will record CPU profile when inspector fro nt-end is connected.<br>
65 </p> 65 </p>
66 </body> 66 </body>
67 </html> 67 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698