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

Side by Side Diff: content/browser/debugger/manual_tests/profiler-test-console-control.html

Issue 11630004: DevTools: rename debugger/ to devtools/, move DevTools files into content/renderer/devtools. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: For landing Created 8 years 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
(Empty)
1 <html>
2 <head>
3 <title>Profiler: test console controlling of CPU profiling</title>
4 <script type="text/javascript" src="resources/fib.js"></script>
5 <script type="text/javascript">
6 function profile_fib() {
7 console.profile();
8 run_fib();
9 window.setTimeout('console.profileEnd();', 5000);
10 }
11 </script>
12 </head>
13 <body onload="profile_fib()">
14 This test runs and profiles a simple looped computation.
15 <br>
16 <br>
17 TEST
18 <ul>
19 <li>load file in the browser;
20 <li>open DevTools with console (Ctrl+Shift+I on Win/Linux, Command+Option+ I on Mac);
21 <li>go to 'Profiles' page;
22 <li>observe that 'Profile 1' item has appeared under 'CPU profiles' sectio n;
23 <li>check for presence of 'eternal_fib' entry in the profile view.
24 </ul>
25 <br>
26 </body>
27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698