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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-flame-chart-automatically-size-window.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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="../../../http/tests/inspector/timeline-test.js"></script> 5 <script src="../../../http/tests/inspector/timeline-test.js"></script>
6 <script src="../resources/timeline-data.js"></script> 6 <script src="../resources/timeline-data.js"></script>
7 <script> 7 <script>
8 8
9 function test() 9 function test()
10 { 10 {
11 var timeline = WebInspector.panels.timeline; 11 var timeline = UI.panels.timeline;
12 timeline._onModeChanged(); 12 timeline._onModeChanged();
13 timeline._currentViews[0]._automaticallySizeWindow = true; 13 timeline._currentViews[0]._automaticallySizeWindow = true;
14 14
15 function requestWindowTimesHook(startTime, endTime) 15 function requestWindowTimesHook(startTime, endTime)
16 { 16 {
17 if (startTime) 17 if (startTime)
18 InspectorTest.addResult("time delta: " + (endTime - startTime)); 18 InspectorTest.addResult("time delta: " + (endTime - startTime));
19 } 19 }
20 20
21 timeline.requestWindowTimes = requestWindowTimesHook; 21 timeline.requestWindowTimes = requestWindowTimesHook;
22 InspectorTest.loadTimeline(InspectorTest.timelineData()); 22 InspectorTest.loadTimeline(InspectorTest.timelineData());
23 23
24 InspectorTest.completeTest(); 24 InspectorTest.completeTest();
25 } 25 }
26 26
27 </script> 27 </script>
28 </head> 28 </head>
29 29
30 <body onload="runTest()"> 30 <body onload="runTest()">
31 <p> 31 <p>
32 Tests the TimelineFlameChart automatically sized window. 32 Tests the TimelineFlameChart automatically sized window.
33 </p> 33 </p>
34 34
35 </body> 35 </body>
36 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698