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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-time/timeline-time.html

Issue 2637443004: DevTools: bring back old landing page in timeline/performance. (Closed)
Patch Set: review comments addressed Created 3 years, 11 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 6
7 testRunner.setDumpConsoleMessages(false); 7 testRunner.setDumpConsoleMessages(false);
8 8
9 function simpleConsoleTime() 9 function simpleConsoleTime()
10 { 10 {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 function dumpName(event, level) 81 function dumpName(event, level)
82 { 82 {
83 if (namesToDump.has(event.name)) 83 if (namesToDump.has(event.name))
84 InspectorTest.addResult("----".repeat(level) + "> " + Timeline.T imelineUIUtils.eventTitle(event)); 84 InspectorTest.addResult("----".repeat(level) + "> " + Timeline.T imelineUIUtils.eventTitle(event));
85 } 85 }
86 function callback() 86 function callback()
87 { 87 {
88 InspectorTest.walkTimelineEventTree(dumpName); 88 InspectorTest.walkTimelineEventTree(dumpName);
89 next(); 89 next();
90 } 90 }
91 UI.panels.timeline._landingPage._tabbedPane.selectTab(Timeline.TimelineL andingPage.PageId.Advanced); 91 UI.panels.timeline._disableCaptureJSProfileSetting.set(true);
92 UI.panels.timeline._captureJSProfileSetting.set(false);
93 InspectorTest.evaluateWithTimeline(actions, InspectorTest.safeWrap(callb ack), true); 92 InspectorTest.evaluateWithTimeline(actions, InspectorTest.safeWrap(callb ack), true);
94 } 93 }
95 } 94 }
96 95
97 </script> 96 </script>
98 </head> 97 </head>
99 98
100 <body onload="runTest()"> 99 <body onload="runTest()">
101 <p>Test nesting of time/timeEnd records on Timeline</p> 100 <p>Test nesting of time/timeEnd records on Timeline</p>
102 101
103 </body> 102 </body>
104 </html> 103 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698