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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-animation-frame.html

Issue 2145873002: [DevTools] Split inspector/tracing into subdirectories to speed things up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/timeline-test.js"></script> 4 <script src="../../../http/tests/inspector/timeline-test.js"></script>
5 <script> 5 <script>
6 function performActions(callback) 6 function performActions(callback)
7 { 7 {
8 var requestId = window.requestAnimationFrame(animationFrameCallback); 8 var requestId = window.requestAnimationFrame(animationFrameCallback);
9 function animationFrameCallback() 9 function animationFrameCallback()
10 { 10 {
11 window.cancelAnimationFrame(requestId); 11 window.cancelAnimationFrame(requestId);
12 if (callback) 12 if (callback)
13 callback(); 13 callback();
14 } 14 }
(...skipping 16 matching lines...) Expand all
31 setTimeout(performActions, 2000); 31 setTimeout(performActions, 2000);
32 </script> 32 </script>
33 </head> 33 </head>
34 34
35 <body onload="runTest()"> 35 <body onload="runTest()">
36 <p> 36 <p>
37 Tests the Timeline events for Animation Frame feature 37 Tests the Timeline events for Animation Frame feature
38 </p> 38 </p>
39 </body> 39 </body>
40 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698